#875BE4#875BE4

#875BE4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.8% C 0.199 H 294.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#875BE4
RGBrgb(135, 91, 228)
HSLhsl(259, 72%, 63%)
HSVhsv(259, 60%, 89%)
CMYKcmyk(40.8%, 60.1%, 0%, 10.6%)
CIE-LABlab(49.78, 48.10, -63.56)
CIE-LCHlch(49.78, 79.71, 307.12°)
OKLaboklab(58.75% 0.0816 -0.1811)
OKLCHoklch(58.75% 0.199 294.3)
XYZxyz(27.7326, 18.2338, 75.4421)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BE4 #B8E45B
analogous
#5B73E4 #875BE4 #CB5BE4
triadic
#875BE4 #E4875B #5BE487
tetradic
#875BE4 #E45B73 #B8E45B #5BE4CB
square
#875BE4 #E45B73 #B8E45B #5BE4CB
split-complementary
#875BE4 #E4CB5B #73E45B
monochromatic
#491CA9 #6126DB #875BE4 #AD90ED #D4C4F5

Accessibility & contrast

On white

4.52
#875BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#875BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BE4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BE4#FFFFFF#000000##000000
##875BE41.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#0774E1
Tritanopia (blue-blind)
#6F7997
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875be4;
/* rgb */ color: rgb(135, 91, 228);
/* oklch */ color: oklch(58.8% 0.199 294.3);
Tailwind
colors: {
  custom: {
    50: '#b08bed',
    500: '#875be4',
    950: '#000000',
  },
}
SCSS
$custom: #875be4;
$custom-light: #b08bed;
$custom-dark: #000000;
JSON
{
  "hex": "#875be4",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 259.27,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.19865,
    "h": 294.3
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#875BE4
secondary
#D6E6B4
accent
#D41295
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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