#875DE4#875DE4

#875DE4 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.196 H 293.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#875DE4
RGBrgb(135, 93, 228)
HSLhsl(259, 71%, 63%)
HSVhsv(259, 59%, 89%)
CMYKcmyk(40.8%, 59.2%, 0%, 10.6%)
CIE-LABlab(50.19, 47.01, -62.90)
CIE-LCHlch(50.19, 78.52, 306.77°)
OKLaboklab(59.06% 0.0794 -0.1791)
OKLCHoklch(59.06% 0.196 293.9)
XYZxyz(27.9059, 18.5803, 75.4998)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DE4 #BAE45D
analogous
#5D76E4 #875DE4 #CB5DE4
triadic
#875DE4 #E4875D #5DE487
tetradic
#875DE4 #E45D76 #BAE45D #5DE4CB
square
#875DE4 #E45D76 #BAE45D #5DE4CB
split-complementary
#875DE4 #E4CB5D #76E45D
monochromatic
#491CAA #6029DB #875DE4 #AE91ED #D5C6F5

Accessibility & contrast

On white

4.45
#875DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#875DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DE4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DE4#FFFFFF#000000##000000
##875DE41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875de4;
/* rgb */ color: rgb(135, 93, 228);
/* oklch */ color: oklch(59.1% 0.196 293.9);
Tailwind
colors: {
  custom: {
    50: '#b08ced',
    500: '#875de4',
    950: '#000000',
  },
}
SCSS
$custom: #875de4;
$custom-light: #b08ced;
$custom-dark: #000000;
JSON
{
  "hex": "#875de4",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 258.667,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59055,
    "c": 0.19594,
    "h": 293.9
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

primary
#875DE4
secondary
#D8E7B6
accent
#D31297
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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