#875FA3#875FA3

#875FA3 is a mid, moderate violet. Relative luminance 0.160; OKLCH L 55.5% C 0.111 H 310.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#875FA3
RGBrgb(135, 95, 163)
HSLhsl(275, 27%, 51%)
HSVhsv(275, 42%, 64%)
CMYKcmyk(17.2%, 41.7%, 0%, 36.1%)
CIE-LABlab(46.95, 29.46, -30.58)
CIE-LCHlch(46.95, 42.46, 313.94°)
OKLaboklab(55.46% 0.0717 -0.0847)
OKLCHoklch(55.46% 0.111 310.3)
XYZxyz(20.6935, 15.9800, 36.6375)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FA3 #7BA35F
analogous
#655FA3 #875FA3 #A35F9D
triadic
#875FA3 #A3875F #5FA387
tetradic
#875FA3 #A3655F #7BA35F #5F9DA3
square
#875FA3 #A3655F #7BA35F #5F9DA3
split-complementary
#875FA3 #9DA35F #5FA365
monochromatic
#473256 #67487D #875FA3 #A486B9 #C1ADD0

Accessibility & contrast

On white

5.00
#875FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#875FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FA3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FA3#FFFFFF#000000##FFFFFF
##875FA31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516DA6
Deuteranopia (green-blind)
#5B70A1
Tritanopia (blue-blind)
#846979
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875fa3;
/* rgb */ color: rgb(135, 95, 163);
/* oklch */ color: oklch(55.5% 0.111 310.3);
Tailwind
colors: {
  custom: {
    50: '#ab8dbe',
    500: '#875fa3',
    950: '#000000',
  },
}
SCSS
$custom: #875fa3;
$custom-light: #ab8dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#875fa3",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 275.294,
    "s": 26.984,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.11103,
    "h": 310.3
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#875FA3
secondary
#ACBEA0
accent
#C3648C
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875FA3

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#875FA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva