#875EEB#875EEB

#875EEB is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.203 H 292.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#875EEB
RGBrgb(135, 94, 235)
HSLhsl(257, 78%, 65%)
HSVhsv(257, 60%, 92%)
CMYKcmyk(42.6%, 60%, 0%, 7.8%)
CIE-LABlab(50.87, 48.33, -65.75)
CIE-LCHlch(50.87, 81.60, 306.32°)
OKLaboklab(59.7% 0.0779 -0.1875)
OKLCHoklch(59.7% 0.203 292.6)
XYZxyz(28.9857, 19.1536, 80.7510)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EEB #C2EB5E
analogous
#5E7CEB #875EEB #CE5EEB
triadic
#875EEB #EB875E #5EEB87
tetradic
#875EEB #EB5E7C #C2EB5E #5EEBCE
square
#875EEB #EB5E7C #C2EB5E #5EEBCE
split-complementary
#875EEB #EBCE5E #7CEB5E
monochromatic
#4617B8 #5E28E4 #875EEB #B094F2 #D8CBF9

Accessibility & contrast

On white

4.35
#875EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#875EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EEB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EEB#FFFFFF#000000##000000
##875EEB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#6B7E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875eeb;
/* rgb */ color: rgb(135, 94, 235);
/* oklch */ color: oklch(59.7% 0.203 292.6);
Tailwind
colors: {
  custom: {
    50: '#b08df2',
    500: '#875eeb',
    950: '#000000',
  },
}
SCSS
$custom: #875eeb;
$custom-light: #b08df2;
$custom-dark: #000000;
JSON
{
  "hex": "#875eeb",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 257.447,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.20309,
    "h": 292.6
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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