#875EE4#875EE4

#875EE4 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.195 H 293.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#875EE4
RGBrgb(135, 94, 228)
HSLhsl(258, 71%, 63%)
HSVhsv(258, 59%, 89%)
CMYKcmyk(40.8%, 58.8%, 0%, 10.6%)
CIE-LABlab(50.40, 46.46, -62.56)
CIE-LCHlch(50.40, 77.92, 306.60°)
OKLaboklab(59.21% 0.0782 -0.1782)
OKLCHoklch(59.21% 0.195 293.7)
XYZxyz(27.9942, 18.7570, 75.5293)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EE4 #BBE45E
analogous
#5E78E4 #875EE4 #CA5EE4
triadic
#875EE4 #E4875E #5EE487
tetradic
#875EE4 #E45E78 #BBE45E #5EE4CA
square
#875EE4 #E45E78 #BBE45E #5EE4CA
split-complementary
#875EE4 #E4CA5E #78E45E
monochromatic
#481DAB #602ADB #875EE4 #AE92ED #D5C7F6

Accessibility & contrast

On white

4.42
#875EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#875EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EE4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EE4#FFFFFF#000000##000000
##875EE41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#1776E1
Tritanopia (blue-blind)
#6E7B98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875ee4;
/* rgb */ color: rgb(135, 94, 228);
/* oklch */ color: oklch(59.2% 0.195 293.7);
Tailwind
colors: {
  custom: {
    50: '#b08ded',
    500: '#875ee4',
    950: '#000000',
  },
}
SCSS
$custom: #875ee4;
$custom-light: #b08ded;
$custom-dark: #000000;
JSON
{
  "hex": "#875ee4",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 258.358,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.19457,
    "h": 293.7
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#875EE4
secondary
#D8E7B7
accent
#D31298
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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