#875EF5#875EF5

#875EF5 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.215 H 291.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#875EF5
RGBrgb(135, 94, 245)
HSLhsl(256, 88%, 66%)
HSVhsv(256, 62%, 96%)
CMYKcmyk(44.9%, 61.6%, 0%, 3.9%)
CIE-LABlab(51.55, 51.04, -70.23)
CIE-LCHlch(51.55, 86.82, 306.01°)
OKLaboklab(60.41% 0.0773 -0.2007)
OKLCHoklch(60.41% 0.215 291.1)
XYZxyz(30.4712, 19.7478, 88.5747)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EF5 #CCF55E
analogous
#5E81F5 #875EF5 #D25EF5
triadic
#875EF5 #F5875E #5EF587
tetradic
#875EF5 #F55E81 #CCF55E #5EF5D2
square
#875EF5 #F55E81 #CCF55E #5EF5D2
split-complementary
#875EF5 #F5D25E #81F55E
monochromatic
#410DCC #5C24F1 #875EF5 #B298F9 #DDD1FC

Accessibility & contrast

On white

4.24
#875EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#875EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EF5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EF5#FFFFFF#000000##000000
##875EF51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#6681A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875ef5;
/* rgb */ color: rgb(135, 94, 245);
/* oklch */ color: oklch(60.4% 0.215 291.1);
Tailwind
colors: {
  custom: {
    50: '#b18df9',
    500: '#875ef5',
    950: '#000000',
  },
}
SCSS
$custom: #875ef5;
$custom-light: #b18df9;
$custom-dark: #000000;
JSON
{
  "hex": "#875ef5",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 256.291,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.21511,
    "h": 291.1
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#875EF5
secondary
#E3F0BF
accent
#E501A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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