#875DEA#875DEA

#875DEA is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.203 H 292.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#875DEA
RGBrgb(135, 93, 234)
HSLhsl(258, 77%, 64%)
HSVhsv(258, 60%, 92%)
CMYKcmyk(42.3%, 60.3%, 0%, 8.2%)
CIE-LABlab(50.59, 48.61, -65.63)
CIE-LCHlch(50.59, 81.67, 306.53°)
OKLaboklab(59.47% 0.0791 -0.1872)
OKLCHoklch(59.47% 0.203 292.9)
XYZxyz(28.7533, 18.9193, 79.9628)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DEA #C0EA5D
analogous
#5D7AEA #875DEA #CD5DEA
triadic
#875DEA #EA875D #5DEA87
tetradic
#875DEA #EA5D7A #C0EA5D #5DEACD
square
#875DEA #EA5D7A #C0EA5D #5DEACD
split-complementary
#875DEA #EACD5D #7AEA5D
monochromatic
#4617B5 #5F27E3 #875DEA #AF93F1 #D7C9F8

Accessibility & contrast

On white

4.39
#875DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#875DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DEA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DEA#FFFFFF#000000##000000
##875DEA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#6C7D9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875dea;
/* rgb */ color: rgb(135, 93, 234);
/* oklch */ color: oklch(59.5% 0.203 292.9);
Tailwind
colors: {
  custom: {
    50: '#b08df2',
    500: '#875dea',
    950: '#000000',
  },
}
SCSS
$custom: #875dea;
$custom-light: #b08df2;
$custom-dark: #000000;
JSON
{
  "hex": "#875dea",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 257.872,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59474,
    "c": 0.20321,
    "h": 292.9
  },
  "luminance": 0.1892
}

Semantic roles & 50–950 ramp

primary
#875DEA
secondary
#DBEAB9
accent
#D90C9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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