#875CE5#875CE5

#875CE5 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.199 H 293.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#875CE5
RGBrgb(135, 92, 229)
HSLhsl(259, 72%, 63%)
HSVhsv(259, 60%, 90%)
CMYKcmyk(41%, 59.8%, 0%, 10.2%)
CIE-LABlab(50.05, 47.82, -63.69)
CIE-LCHlch(50.05, 79.64, 306.90°)
OKLaboklab(58.97% 0.0804 -0.1815)
OKLCHoklch(58.97% 0.199 293.9)
XYZxyz(27.9579, 18.4616, 76.2040)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CE5 #BAE55C
analogous
#5C75E5 #875CE5 #CB5CE5
triadic
#875CE5 #E5875C #5CE587
tetradic
#875CE5 #E55C75 #BAE55C #5CE5CB
square
#875CE5 #E55C75 #BAE55C #5CE5CB
split-complementary
#875CE5 #E5CB5C #75E55C
monochromatic
#491BAB #6027DD #875CE5 #AE91ED #D5C6F6

Accessibility & contrast

On white

4.48
#875CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#875CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CE5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CE5#FFFFFF#000000##000000
##875CE51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0875E2
Tritanopia (blue-blind)
#6E7A98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875ce5;
/* rgb */ color: rgb(135, 92, 229);
/* oklch */ color: oklch(59.0% 0.199 293.9);
Tailwind
colors: {
  custom: {
    50: '#b08cee',
    500: '#875ce5',
    950: '#000000',
  },
}
SCSS
$custom: #875ce5;
$custom-light: #b08cee;
$custom-dark: #000000;
JSON
{
  "hex": "#875ce5",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 258.832,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.1985,
    "h": 293.9
  },
  "luminance": 0.18462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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