#875CD1#875CD1

#875CD1 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.174 H 297.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#875CD1
RGBrgb(135, 92, 209)
HSLhsl(262, 56%, 59%)
HSVhsv(262, 56%, 82%)
CMYKcmyk(35.4%, 56%, 0%, 18%)
CIE-LABlab(48.77, 42.56, -54.40)
CIE-LCHlch(48.77, 69.06, 308.04°)
OKLaboklab(57.62% 0.0807 -0.1542)
OKLCHoklch(57.62% 0.174 297.6)
XYZxyz(25.3246, 17.4083, 62.3351)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CD1 #A6D15C
analogous
#5C6CD1 #875CD1 #C25CD1
triadic
#875CD1 #D1875C #5CD187
tetradic
#875CD1 #D15C6C #A6D15C #5CD1C2
square
#875CD1 #D15C6C #A6D15C #5CD1C2
split-complementary
#875CD1 #D1C25C #6CD15C
monochromatic
#4C278B #6635BB #875CD1 #AA8CDE #CDBBEC

Accessibility & contrast

On white

4.69
#875CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#875CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CD1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CD1#FFFFFF#000000##FFFFFF
##875CD11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2574D5
Deuteranopia (green-blind)
#3573CE
Tritanopia (blue-blind)
#76748E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875cd1;
/* rgb */ color: rgb(135, 92, 209);
/* oklch */ color: oklch(57.6% 0.174 297.6);
Tailwind
colors: {
  custom: {
    50: '#ae8ce0',
    500: '#875cd1',
    950: '#000000',
  },
}
SCSS
$custom: #875cd1;
$custom-light: #ae8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#875cd1",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 262.051,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.17402,
    "h": 297.6
  },
  "luminance": 0.17409
}

Semantic roles & 50–950 ramp

primary
#875CD1
secondary
#CADBAD
accent
#DF49A8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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