#875EF4#875EF4

#875EF4 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.214 H 291.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#875EF4
RGBrgb(135, 94, 244)
HSLhsl(256, 87%, 66%)
HSVhsv(256, 61%, 96%)
CMYKcmyk(44.7%, 61.5%, 0%, 4.3%)
CIE-LABlab(51.48, 50.77, -69.79)
CIE-LCHlch(51.48, 86.30, 306.03°)
OKLaboklab(60.34% 0.0774 -0.1994)
OKLCHoklch(60.34% 0.214 291.2)
XYZxyz(30.3190, 19.6869, 87.7729)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EF4 #CBF45E
analogous
#5E80F4 #875EF4 #D25EF4
triadic
#875EF4 #F4875E #5EF487
tetradic
#875EF4 #F45E80 #CBF45E #5EF4D2
square
#875EF4 #F45E80 #CBF45E #5EF4D2
split-complementary
#875EF4 #F4D25E #80F45E
monochromatic
#410ECA #5C25F0 #875EF4 #B297F8 #DCD1FC

Accessibility & contrast

On white

4.25
#875EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#875EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EF4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EF4#FFFFFF#000000##000000
##875EF41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#6681A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875ef4;
/* rgb */ color: rgb(135, 94, 244);
/* oklch */ color: oklch(60.3% 0.214 291.2);
Tailwind
colors: {
  custom: {
    50: '#b18df9',
    500: '#875ef4',
    950: '#000000',
  },
}
SCSS
$custom: #875ef4;
$custom-light: #b18df9;
$custom-dark: #000000;
JSON
{
  "hex": "#875ef4",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 256.4,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60338,
    "c": 0.21392,
    "h": 291.2
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#875EF4
secondary
#E2EFBE
accent
#E402A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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