#875FEA#875FEA

#875FEA is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.8% C 0.201 H 292.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#875FEA
RGBrgb(135, 95, 234)
HSLhsl(257, 77%, 65%)
HSVhsv(257, 59%, 92%)
CMYKcmyk(42.3%, 59.4%, 0%, 8.2%)
CIE-LABlab(51.01, 47.52, -64.96)
CIE-LCHlch(51.01, 80.48, 306.18°)
OKLaboklab(59.78% 0.0769 -0.1852)
OKLCHoklch(59.78% 0.201 292.5)
XYZxyz(28.9311, 19.2750, 80.0221)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FEA #C2EA5F
analogous
#5F7DEA #875FEA #CD5FEA
triadic
#875FEA #EA875F #5FEA87
tetradic
#875FEA #EA5F7D #C2EA5F #5FEACD
square
#875FEA #EA5F7D #C2EA5F #5FEACD
split-complementary
#875FEA #EACD5F #7DEA5F
monochromatic
#4618B7 #5E29E3 #875FEA #B095F1 #D8CBF8

Accessibility & contrast

On white

4.33
#875FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#875FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FEA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FEA#FFFFFF#000000##000000
##875FEA1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#6B7E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875fea;
/* rgb */ color: rgb(135, 95, 234);
/* oklch */ color: oklch(59.8% 0.201 292.5);
Tailwind
colors: {
  custom: {
    50: '#b08ef2',
    500: '#875fea',
    950: '#000000',
  },
}
SCSS
$custom: #875fea;
$custom-light: #b08ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#875fea",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 257.266,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.20053,
    "h": 292.5
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#875FEA
secondary
#DDEABA
accent
#D90C9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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