#875BEA#875BEA

#875BEA is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.206 H 293.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#875BEA
RGBrgb(135, 91, 234)
HSLhsl(258, 77%, 64%)
HSVhsv(258, 61%, 92%)
CMYKcmyk(42.3%, 61.1%, 0%, 8.2%)
CIE-LABlab(50.18, 49.70, -66.29)
CIE-LCHlch(50.18, 82.85, 306.86°)
OKLaboklab(59.18% 0.0813 -0.1891)
OKLCHoklch(59.18% 0.206 293.3)
XYZxyz(28.5800, 18.5728, 79.9050)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BEA #BEEA5B
analogous
#5B76EA #875BEA #CF5BEA
triadic
#875BEA #EA875B #5BEA87
tetradic
#875BEA #EA5B76 #BEEA5B #5BEACF
square
#875BEA #EA5B76 #BEEA5B #5BEACF
split-complementary
#875BEA #EACF5B #76EA5B
monochromatic
#4717B4 #5F25E3 #875BEA #AF91F1 #D6C8F8

Accessibility & contrast

On white

4.45
#875BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#875BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BEA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BEA#FFFFFF#000000##000000
##875BEA1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#6C7C9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875bea;
/* rgb */ color: rgb(135, 91, 234);
/* oklch */ color: oklch(59.2% 0.206 293.3);
Tailwind
colors: {
  custom: {
    50: '#b08bf2',
    500: '#875bea',
    950: '#000000',
  },
}
SCSS
$custom: #875bea;
$custom-light: #b08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#875bea",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 258.462,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.20585,
    "h": 293.3
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#875BEA
secondary
#DAEAB7
accent
#DA0C9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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