#875DF9#875DF9

#875DF9 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.221 H 290.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#875DF9
RGBrgb(135, 93, 249)
HSLhsl(256, 93%, 67%)
HSVhsv(256, 63%, 98%)
CMYKcmyk(45.8%, 62.7%, 0%, 2.4%)
CIE-LABlab(51.63, 52.66, -72.33)
CIE-LCHlch(51.63, 89.47, 306.06°)
OKLaboklab(60.56% 0.078 -0.2069)
OKLCHoklch(60.56% 0.221 290.7)
XYZxyz(31.0001, 19.8180, 91.7960)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DF9 #CFF95D
analogous
#5D81F9 #875DF9 #D55DF9
triadic
#875DF9 #F9875D #5DF987
tetradic
#875DF9 #F95D81 #CFF95D #5DF9D5
square
#875DF9 #F95D81 #CFF95D #5DF9D5
split-complementary
#875DF9 #F9D55D #81F95D
monochromatic
#3F08D4 #5B22F7 #875DF9 #B398FB #DED3FD

Accessibility & contrast

On white

4.23
#875DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#875DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DF9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DF9#FFFFFF#000000##000000
##875DF91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#6482A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875df9;
/* rgb */ color: rgb(135, 93, 249);
/* oklch */ color: oklch(60.6% 0.221 290.7);
Tailwind
colors: {
  custom: {
    50: '#b28dfc',
    500: '#875df9',
    950: '#000000',
  },
}
SCSS
$custom: #875df9;
$custom-light: #b28dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#875df9",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 256.154,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60557,
    "c": 0.22113,
    "h": 290.7
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#875DF9
secondary
#E4F2C0
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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