#875FF8#875FF8

#875FF8 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.217 H 290.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#875FF8
RGBrgb(135, 95, 248)
HSLhsl(256, 92%, 67%)
HSVhsv(256, 62%, 97%)
CMYKcmyk(45.6%, 61.7%, 0%, 2.7%)
CIE-LABlab(51.96, 51.31, -71.24)
CIE-LCHlch(51.96, 87.79, 305.77°)
OKLaboklab(60.78% 0.0761 -0.2037)
OKLCHoklch(60.78% 0.217 290.5)
XYZxyz(31.0224, 20.1115, 91.0361)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FF8 #D0F85F
analogous
#5F84F8 #875FF8 #D35FF8
triadic
#875FF8 #F8875F #5FF887
tetradic
#875FF8 #F85F84 #D0F85F #5FF8D3
square
#875FF8 #F85F84 #D0F85F #5FF8D3
split-complementary
#875FF8 #F8D35F #84F85F
monochromatic
#3E09D3 #5B24F5 #875FF8 #B39AFB #DFD4FD

Accessibility & contrast

On white

4.18
#875FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#875FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FF8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FF8#FFFFFF#000000##000000
##875FF81.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#6483A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #875ff8;
/* rgb */ color: rgb(135, 95, 248);
/* oklch */ color: oklch(60.8% 0.217 290.5);
Tailwind
colors: {
  custom: {
    50: '#b28efb',
    500: '#875ff8',
    950: '#000000',
  },
}
SCSS
$custom: #875ff8;
$custom-light: #b28efb;
$custom-dark: #000000;
JSON
{
  "hex": "#875ff8",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 255.686,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.21743,
    "h": 290.5
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#875FF8
secondary
#E5F2C1
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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