#875BF8#875BF8

#875BF8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.222 H 291.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#875BF8
RGBrgb(135, 91, 248)
HSLhsl(257, 92%, 66%)
HSVhsv(257, 63%, 97%)
CMYKcmyk(45.6%, 63.3%, 0%, 2.7%)
CIE-LABlab(51.16, 53.46, -72.54)
CIE-LCHlch(51.16, 90.11, 306.39°)
OKLaboklab(60.2% 0.0802 -0.2075)
OKLCHoklch(60.2% 0.222 291.1)
XYZxyz(30.6713, 19.4093, 90.9191)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BF8 #CCF85B
analogous
#5B7EF8 #875BF8 #D55BF8
triadic
#875BF8 #F8875B #5BF887
tetradic
#875BF8 #F85B7E #CCF85B #5BF8D5
square
#875BF8 #F85B7E #CCF85B #5BF8D5
split-complementary
#875BF8 #F8D55B #7EF85B
monochromatic
#4109D0 #5C20F5 #875BF8 #B296FB #DDD0FD

Accessibility & contrast

On white

4.30
#875BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#875BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BF8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BF8#FFFFFF#000000##000000
##875BF81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#6480A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875bf8;
/* rgb */ color: rgb(135, 91, 248);
/* oklch */ color: oklch(60.2% 0.222 291.1);
Tailwind
colors: {
  custom: {
    50: '#b28cfc',
    500: '#875bf8',
    950: '#000000',
  },
}
SCSS
$custom: #875bf8;
$custom-light: #b28cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#875bf8",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 256.815,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60195,
    "c": 0.22244,
    "h": 291.1
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#875BF8
secondary
#E3F1BE
accent
#E600A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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