#875CEB#875CEB

#875CEB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.206 H 292.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#875CEB
RGBrgb(135, 92, 235)
HSLhsl(258, 78%, 64%)
HSVhsv(258, 61%, 92%)
CMYKcmyk(42.6%, 60.9%, 0%, 7.8%)
CIE-LABlab(50.46, 49.43, -66.41)
CIE-LCHlch(50.46, 82.79, 306.66°)
OKLaboklab(59.4% 0.0801 -0.1895)
OKLCHoklch(59.4% 0.206 292.9)
XYZxyz(28.8101, 18.8025, 80.6925)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CEB #C0EB5C
analogous
#5C79EB #875CEB #CF5CEB
triadic
#875CEB #EB875C #5CEB87
tetradic
#875CEB #EB5C79 #C0EB5C #5CEBCF
square
#875CEB #EB5C79 #C0EB5C #5CEBCF
split-complementary
#875CEB #EBCF5C #79EB5C
monochromatic
#4616B6 #5F25E4 #875CEB #AF93F2 #D7C9F8

Accessibility & contrast

On white

4.41
#875CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#875CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CEB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CEB#FFFFFF#000000##000000
##875CEB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#6B7C9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875ceb;
/* rgb */ color: rgb(135, 92, 235);
/* oklch */ color: oklch(59.4% 0.206 292.9);
Tailwind
colors: {
  custom: {
    50: '#b08cf2',
    500: '#875ceb',
    950: '#000000',
  },
}
SCSS
$custom: #875ceb;
$custom-light: #b08cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#875ceb",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 258.042,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59395,
    "c": 0.20573,
    "h": 292.9
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#875CEB
secondary
#DBEAB8
accent
#DA0B9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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