#875CD2#875CD2

#875CD2 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.175 H 297.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#875CD2
RGBrgb(135, 92, 210)
HSLhsl(262, 57%, 59%)
HSVhsv(262, 56%, 82%)
CMYKcmyk(35.7%, 56.2%, 0%, 17.6%)
CIE-LABlab(48.83, 42.82, -54.87)
CIE-LCHlch(48.83, 69.60, 307.97°)
OKLaboklab(57.69% 0.0807 -0.1556)
OKLCHoklch(57.69% 0.175 297.4)
XYZxyz(25.4488, 17.4580, 62.9892)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CD2 #A7D25C
analogous
#5C6CD2 #875CD2 #C25CD2
triadic
#875CD2 #D2875C #5CD287
tetradic
#875CD2 #D25C6C #A7D25C #5CD2C2
square
#875CD2 #D25C6C #A7D25C #5CD2C2
split-complementary
#875CD2 #D2C25C #6CD25C
monochromatic
#4C278D #6634BD #875CD2 #AA8CDF #CEBCEC

Accessibility & contrast

On white

4.68
#875CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#875CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CD2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CD2#FFFFFF#000000##FFFFFF
##875CD21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2474D6
Deuteranopia (green-blind)
#3473CF
Tritanopia (blue-blind)
#76748E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875cd2;
/* rgb */ color: rgb(135, 92, 210);
/* oklch */ color: oklch(57.7% 0.175 297.4);
Tailwind
colors: {
  custom: {
    50: '#ae8ce0',
    500: '#875cd2',
    950: '#000000',
  },
}
SCSS
$custom: #875cd2;
$custom-light: #ae8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#875cd2",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 261.864,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.17527,
    "h": 297.4
  },
  "luminance": 0.17458
}

Semantic roles & 50–950 ramp

primary
#875CD2
secondary
#CBDCAE
accent
#E048A9
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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