#875EF8#875EF8

#875EF8 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.219 H 290.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#875EF8
RGBrgb(135, 94, 248)
HSLhsl(256, 92%, 67%)
HSVhsv(256, 62%, 97%)
CMYKcmyk(45.6%, 62.1%, 0%, 2.7%)
CIE-LABlab(51.76, 51.85, -71.56)
CIE-LCHlch(51.76, 88.38, 305.93°)
OKLaboklab(60.63% 0.0771 -0.2046)
OKLCHoklch(60.63% 0.219 290.6)
XYZxyz(30.9329, 19.9325, 91.0063)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EF8 #CFF85E
analogous
#5E82F8 #875EF8 #D45EF8
triadic
#875EF8 #F8875E #5EF887
tetradic
#875EF8 #F85E82 #CFF85E #5EF8D4
square
#875EF8 #F85E82 #CFF85E #5EF8D4
split-complementary
#875EF8 #F8D45E #82F85E
monochromatic
#3F09D2 #5B23F5 #875EF8 #B399FB #DED3FD

Accessibility & contrast

On white

4.21
#875EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#875EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EF8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EF8#FFFFFF#000000##000000
##875EF81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#6482A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875ef8;
/* rgb */ color: rgb(135, 94, 248);
/* oklch */ color: oklch(60.6% 0.219 290.6);
Tailwind
colors: {
  custom: {
    50: '#b28efb',
    500: '#875ef8',
    950: '#000000',
  },
}
SCSS
$custom: #875ef8;
$custom-light: #b28efb;
$custom-dark: #000000;
JSON
{
  "hex": "#875ef8",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 248
  },
  "hsl": {
    "h": 255.974,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.2187,
    "h": 290.6
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#875EF8
secondary
#E4F1C0
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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