#875FF4#875FF4

#875FF4 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.213 H 291.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#875FF4
RGBrgb(135, 95, 244)
HSLhsl(256, 87%, 66%)
HSVhsv(256, 61%, 96%)
CMYKcmyk(44.7%, 61.1%, 0%, 4.3%)
CIE-LABlab(51.69, 50.22, -69.46)
CIE-LCHlch(51.69, 85.71, 305.87°)
OKLaboklab(60.49% 0.0764 -0.1984)
OKLCHoklch(60.49% 0.213 291)
XYZxyz(30.4085, 19.8659, 87.8027)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FF4 #CCF45F
analogous
#5F82F4 #875FF4 #D15FF4
triadic
#875FF4 #F4875F #5FF487
tetradic
#875FF4 #F45F82 #CCF45F #5FF4D1
square
#875FF4 #F45F82 #CCF45F #5FF4D1
split-complementary
#875FF4 #F4D15F #82F45F
monochromatic
#410ECB #5C26F0 #875FF4 #B298F8 #DDD2FC

Accessibility & contrast

On white

4.22
#875FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#875FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FF4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FF4#FFFFFF#000000##000000
##875FF41.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875ff4;
/* rgb */ color: rgb(135, 95, 244);
/* oklch */ color: oklch(60.5% 0.213 291.0);
Tailwind
colors: {
  custom: {
    50: '#b18ef9',
    500: '#875ff4',
    950: '#000000',
  },
}
SCSS
$custom: #875ff4;
$custom-light: #b18ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#875ff4",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 256.107,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.21263,
    "h": 291
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#875FF4
secondary
#E3F0BF
accent
#E402A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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