#875DEC#875DEC

#875DEC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.206 H 292.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#875DEC
RGBrgb(135, 93, 236)
HSLhsl(258, 79%, 65%)
HSVhsv(258, 61%, 93%)
CMYKcmyk(42.8%, 60.6%, 0%, 7.5%)
CIE-LABlab(50.73, 49.15, -66.53)
CIE-LCHlch(50.73, 82.72, 306.45°)
OKLaboklab(59.61% 0.079 -0.1898)
OKLCHoklch(59.61% 0.206 292.6)
XYZxyz(29.0422, 19.0349, 81.4845)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DEC #C2EC5D
analogous
#5D7BEC #875DEC #CE5DEC
triadic
#875DEC #EC875D #5DEC87
tetradic
#875DEC #EC5D7B #C2EC5D #5DECCE
square
#875DEC #EC5D7B #C2EC5D #5DECCE
split-complementary
#875DEC #ECCE5D #7BEC5D
monochromatic
#4616B9 #5E26E6 #875DEC #B094F2 #D8CBF9

Accessibility & contrast

On white

4.37
#875DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#875DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DEC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DEC#FFFFFF#000000##000000
##875DEC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#6B7D9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875dec;
/* rgb */ color: rgb(135, 93, 236);
/* oklch */ color: oklch(59.6% 0.206 292.6);
Tailwind
colors: {
  custom: {
    50: '#b08df3',
    500: '#875dec',
    950: '#000000',
  },
}
SCSS
$custom: #875dec;
$custom-light: #b08df3;
$custom-dark: #000000;
JSON
{
  "hex": "#875dec",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 257.622,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.20562,
    "h": 292.6
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#875DEC
secondary
#DDEBBA
accent
#DB0A9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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