#875DE9#875DE9

#875DE9 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.202 H 293.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#875DE9
RGBrgb(135, 93, 233)
HSLhsl(258, 76%, 64%)
HSVhsv(258, 60%, 91%)
CMYKcmyk(42.1%, 60.1%, 0%, 8.6%)
CIE-LABlab(50.53, 48.34, -65.17)
CIE-LCHlch(50.53, 81.15, 306.57°)
OKLaboklab(59.4% 0.0791 -0.1858)
OKLCHoklch(59.4% 0.202 293.1)
XYZxyz(28.6100, 18.8620, 79.2083)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DE9 #BFE95D
analogous
#5D79E9 #875DE9 #CD5DE9
triadic
#875DE9 #E9875D #5DE987
tetradic
#875DE9 #E95D79 #BFE95D #5DE9CD
square
#875DE9 #E95D79 #BFE95D #5DE9CD
split-complementary
#875DE9 #E9CD5D #79E95D
monochromatic
#4718B3 #5F27E2 #875DE9 #AF93F0 #D7C9F8

Accessibility & contrast

On white

4.40
#875DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#875DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DE9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DE9#FFFFFF#000000##000000
##875DE91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#6C7C9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875de9;
/* rgb */ color: rgb(135, 93, 233);
/* oklch */ color: oklch(59.4% 0.202 293.1);
Tailwind
colors: {
  custom: {
    50: '#b08df1',
    500: '#875de9',
    950: '#000000',
  },
}
SCSS
$custom: #875de9;
$custom-light: #b08df1;
$custom-dark: #000000;
JSON
{
  "hex": "#875de9",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 258,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59403,
    "c": 0.202,
    "h": 293.1
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#875DE9
secondary
#DBE9B8
accent
#D80D9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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