#875BEB#875BEB

#875BEB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.207 H 293.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#875BEB
RGBrgb(135, 91, 235)
HSLhsl(258, 78%, 64%)
HSVhsv(258, 61%, 92%)
CMYKcmyk(42.6%, 61.3%, 0%, 7.8%)
CIE-LABlab(50.25, 49.97, -66.74)
CIE-LCHlch(50.25, 83.37, 306.82°)
OKLaboklab(59.25% 0.0812 -0.1905)
OKLCHoklch(59.25% 0.207 293.1)
XYZxyz(28.7241, 18.6304, 80.6638)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BEB #BFEB5B
analogous
#5B77EB #875BEB #CF5BEB
triadic
#875BEB #EB875B #5BEB87
tetradic
#875BEB #EB5B77 #BFEB5B #5BEBCF
square
#875BEB #EB5B77 #BFEB5B #5BEBCF
split-complementary
#875BEB #EBCF5B #77EB5B
monochromatic
#4716B5 #5F24E4 #875BEB #AF92F2 #D7C8F8

Accessibility & contrast

On white

4.44
#875BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#875BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BEB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BEB#FFFFFF#000000##000000
##875BEB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#6B7C9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875beb;
/* rgb */ color: rgb(135, 91, 235);
/* oklch */ color: oklch(59.2% 0.207 293.1);
Tailwind
colors: {
  custom: {
    50: '#b08bf2',
    500: '#875beb',
    950: '#000000',
  },
}
SCSS
$custom: #875beb;
$custom-light: #b08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#875beb",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 258.333,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.20705,
    "h": 293.1
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#875BEB
secondary
#DBEAB8
accent
#DB0B9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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