#875EE8#875EE8

#875EE8 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.199 H 293.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#875EE8
RGBrgb(135, 94, 232)
HSLhsl(258, 75%, 64%)
HSVhsv(258, 59%, 91%)
CMYKcmyk(41.8%, 59.5%, 0%, 9%)
CIE-LABlab(50.67, 47.53, -64.39)
CIE-LCHlch(50.67, 80.03, 306.43°)
OKLaboklab(59.49% 0.0781 -0.1835)
OKLCHoklch(59.49% 0.199 293)
XYZxyz(28.5559, 18.9817, 78.4876)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EE8 #BFE85E
analogous
#5E7AE8 #875EE8 #CC5EE8
triadic
#875EE8 #E8875E #5EE887
tetradic
#875EE8 #E85E7A #BFE85E #5EE8CC
square
#875EE8 #E85E7A #BFE85E #5EE8CC
split-complementary
#875EE8 #E8CC5E #7AE85E
monochromatic
#4719B2 #5F28E0 #875EE8 #AF94F0 #D7C9F7

Accessibility & contrast

On white

4.38
#875EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#875EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EE8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EE8#FFFFFF#000000##000000
##875EE81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0576E5
Tritanopia (blue-blind)
#6C7D9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875ee8;
/* rgb */ color: rgb(135, 94, 232);
/* oklch */ color: oklch(59.5% 0.199 293.0);
Tailwind
colors: {
  custom: {
    50: '#b08df0',
    500: '#875ee8',
    950: '#000000',
  },
}
SCSS
$custom: #875ee8;
$custom-light: #b08df0;
$custom-dark: #000000;
JSON
{
  "hex": "#875ee8",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 257.826,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59485,
    "c": 0.19944,
    "h": 293
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#875EE8
secondary
#DBE9B9
accent
#D70E9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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