#875EEA#875EEA

#875EEA is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.202 H 292.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#875EEA
RGBrgb(135, 94, 234)
HSLhsl(258, 77%, 64%)
HSVhsv(258, 60%, 92%)
CMYKcmyk(42.3%, 59.8%, 0%, 8.2%)
CIE-LABlab(50.80, 48.06, -65.29)
CIE-LCHlch(50.80, 81.08, 306.36°)
OKLaboklab(59.62% 0.078 -0.1862)
OKLCHoklch(59.62% 0.202 292.7)
XYZxyz(28.8416, 19.0960, 79.9922)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EEA #C1EA5E
analogous
#5E7BEA #875EEA #CD5EEA
triadic
#875EEA #EA875E #5EEA87
tetradic
#875EEA #EA5E7B #C1EA5E #5EEACD
square
#875EEA #EA5E7B #C1EA5E #5EEACD
split-complementary
#875EEA #EACD5E #7BEA5E
monochromatic
#4618B6 #5F28E3 #875EEA #AF94F1 #D8CAF8

Accessibility & contrast

On white

4.36
#875EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#875EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EEA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EEA#FFFFFF#000000##000000
##875EEA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875eea;
/* rgb */ color: rgb(135, 94, 234);
/* oklch */ color: oklch(59.6% 0.202 292.7);
Tailwind
colors: {
  custom: {
    50: '#b08df2',
    500: '#875eea',
    950: '#000000',
  },
}
SCSS
$custom: #875eea;
$custom-light: #b08df2;
$custom-dark: #000000;
JSON
{
  "hex": "#875eea",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 257.571,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.20187,
    "h": 292.7
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#875EEA
secondary
#DCEABA
accent
#D90C9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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