#875EEC#875EEC

#875EEC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.204 H 292.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#875EEC
RGBrgb(135, 94, 236)
HSLhsl(257, 79%, 65%)
HSVhsv(257, 60%, 93%)
CMYKcmyk(42.8%, 60.2%, 0%, 7.5%)
CIE-LABlab(50.93, 48.60, -66.20)
CIE-LCHlch(50.93, 82.13, 306.29°)
OKLaboklab(59.77% 0.0779 -0.1889)
OKLCHoklch(59.77% 0.204 292.4)
XYZxyz(29.1306, 19.2116, 81.5140)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EEC #C3EC5E
analogous
#5E7CEC #875EEC #CE5EEC
triadic
#875EEC #EC875E #5EEC87
tetradic
#875EEC #EC5E7C #C3EC5E #5EECCE
square
#875EEC #EC5E7C #C3EC5E #5EECCE
split-complementary
#875EEC #ECCE5E #7CEC5E
monochromatic
#4516BA #5E27E6 #875EEC #B095F2 #D9CBF9

Accessibility & contrast

On white

4.34
#875EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#875EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EEC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EEC#FFFFFF#000000##000000
##875EEC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875eec;
/* rgb */ color: rgb(135, 94, 236);
/* oklch */ color: oklch(59.8% 0.204 292.4);
Tailwind
colors: {
  custom: {
    50: '#b08df3',
    500: '#875eec',
    950: '#000000',
  },
}
SCSS
$custom: #875eec;
$custom-light: #b08df3;
$custom-dark: #000000;
JSON
{
  "hex": "#875eec",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 257.324,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59766,
    "c": 0.2043,
    "h": 292.4
  },
  "luminance": 0.19212
}

Semantic roles & 50–950 ramp

primary
#875EEC
secondary
#DDEBBB
accent
#DB0A9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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