#875DEB#875DEB

#875DEB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.204 H 292.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#875DEB
RGBrgb(135, 93, 235)
HSLhsl(258, 78%, 64%)
HSVhsv(258, 60%, 92%)
CMYKcmyk(42.6%, 60.4%, 0%, 7.8%)
CIE-LABlab(50.66, 48.88, -66.08)
CIE-LCHlch(50.66, 82.19, 306.49°)
OKLaboklab(59.55% 0.079 -0.1885)
OKLCHoklch(59.55% 0.204 292.7)
XYZxyz(28.8973, 18.9769, 80.7215)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DEB #C1EB5D
analogous
#5D7AEB #875DEB #CE5DEB
triadic
#875DEB #EB875D #5DEB87
tetradic
#875DEB #EB5D7A #C1EB5D #5DEBCE
square
#875DEB #EB5D7A #C1EB5D #5DEBCE
split-complementary
#875DEB #EBCE5D #7AEB5D
monochromatic
#4617B7 #5F27E4 #875DEB #AF93F2 #D8CAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875DEB#FFFFFF#000000##000000
##875DEB1.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)
#007AF0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#6B7D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875deb;
/* rgb */ color: rgb(135, 93, 235);
/* oklch */ color: oklch(59.5% 0.204 292.7);
Tailwind
colors: {
  custom: {
    50: '#b08df2',
    500: '#875deb',
    950: '#000000',
  },
}
SCSS
$custom: #875deb;
$custom-light: #b08df2;
$custom-dark: #000000;
JSON
{
  "hex": "#875deb",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 257.746,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59545,
    "c": 0.20442,
    "h": 292.7
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

primary
#875DEB
secondary
#DCEBB9
accent
#DA0B9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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