#875EEF#875EEF

#875EEF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.208 H 292.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#875EEF
RGBrgb(135, 94, 239)
HSLhsl(257, 82%, 65%)
HSVhsv(257, 61%, 94%)
CMYKcmyk(43.5%, 60.7%, 0%, 6.3%)
CIE-LABlab(51.14, 49.41, -67.55)
CIE-LCHlch(51.14, 83.69, 306.19°)
OKLaboklab(59.98% 0.0777 -0.1928)
OKLCHoklch(59.98% 0.208 292)
XYZxyz(29.5701, 19.3874, 83.8288)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EEF #C6EF5E
analogous
#5E7DEF #875EEF #D05EEF
triadic
#875EEF #EF875E #5EEF87
tetradic
#875EEF #EF5E7D #C6EF5E #5EEFD0
square
#875EEF #EF5E7D #C6EF5E #5EEFD0
split-complementary
#875EEF #EFD05E #7DEF5E
monochromatic
#4413C0 #5E26E9 #875EEF #B096F5 #DACDFA

Accessibility & contrast

On white

4.31
#875EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#875EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EEF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EEF#FFFFFF#000000##000000
##875EEF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#697F9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875eef;
/* rgb */ color: rgb(135, 94, 239);
/* oklch */ color: oklch(60.0% 0.208 292.0);
Tailwind
colors: {
  custom: {
    50: '#b18df5',
    500: '#875eef',
    950: '#000000',
  },
}
SCSS
$custom: #875eef;
$custom-light: #b18df5;
$custom-dark: #000000;
JSON
{
  "hex": "#875eef",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 256.966,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59979,
    "c": 0.20792,
    "h": 292
  },
  "luminance": 0.19388
}

Semantic roles & 50–950 ramp

primary
#875EEF
secondary
#DFEDBC
accent
#DE07A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #875EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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