#875BE5#875BE5

#875BE5 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.200 H 294.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#875BE5
RGBrgb(135, 91, 229)
HSLhsl(259, 73%, 63%)
HSVhsv(259, 60%, 90%)
CMYKcmyk(41%, 60.3%, 0%, 10.2%)
CIE-LABlab(49.85, 48.37, -64.02)
CIE-LCHlch(49.85, 80.24, 307.07°)
OKLaboklab(58.82% 0.0816 -0.1825)
OKLCHoklch(58.82% 0.2 294.1)
XYZxyz(27.8718, 18.2895, 76.1753)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BE5 #B9E55B
analogous
#5B74E5 #875BE5 #CC5BE5
triadic
#875BE5 #E5875B #5BE587
tetradic
#875BE5 #E55B74 #B9E55B #5BE5CC
square
#875BE5 #E55B74 #B9E55B #5BE5CC
split-complementary
#875BE5 #E5CC5B #74E55B
monochromatic
#491BAB #6026DD #875BE5 #AE90ED #D4C5F6

Accessibility & contrast

On white

4.51
#875BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#875BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BE5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BE5#FFFFFF#000000##000000
##875BE51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#0174E2
Tritanopia (blue-blind)
#6E7A97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875be5;
/* rgb */ color: rgb(135, 91, 229);
/* oklch */ color: oklch(58.8% 0.200 294.1);
Tailwind
colors: {
  custom: {
    50: '#b08bee',
    500: '#875be5',
    950: '#000000',
  },
}
SCSS
$custom: #875be5;
$custom-light: #b08bee;
$custom-dark: #000000;
JSON
{
  "hex": "#875be5",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 259.13,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58822,
    "c": 0.19986,
    "h": 294.1
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#875BE5
secondary
#D7E7B5
accent
#D51196
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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