#875EF6#875EF6

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

Color values

HEX#875EF6
RGBrgb(135, 94, 246)
HSLhsl(256, 89%, 67%)
HSVhsv(256, 62%, 96%)
CMYKcmyk(45.1%, 61.8%, 0%, 3.5%)
CIE-LABlab(51.62, 51.31, -70.68)
CIE-LCHlch(51.62, 87.34, 305.98°)
OKLaboklab(60.48% 0.0773 -0.202)
OKLCHoklch(60.48% 0.216 290.9)
XYZxyz(30.6243, 19.8091, 89.3809)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EF6 #CDF65E
analogous
#5E81F6 #875EF6 #D35EF6
triadic
#875EF6 #F6875E #5EF687
tetradic
#875EF6 #F65E81 #CDF65E #5EF6D3
square
#875EF6 #F65E81 #CDF65E #5EF6D3
split-complementary
#875EF6 #F6D35E #81F65E
monochromatic
#400CCE #5C24F3 #875EF6 #B298F9 #DDD2FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875EF6#FFFFFF#000000##000000
##875EF61.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)
#007EFB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#6581A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875ef6;
/* rgb */ color: rgb(135, 94, 246);
/* oklch */ color: oklch(60.5% 0.216 290.9);
Tailwind
colors: {
  custom: {
    50: '#b18dfa',
    500: '#875ef6',
    950: '#000000',
  },
}
SCSS
$custom: #875ef6;
$custom-light: #b18dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#875ef6",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 256.184,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.21631,
    "h": 290.9
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#875EF6
secondary
#E3F0BF
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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