#875FD8#875FD8

#875FD8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.178 H 295.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#875FD8
RGBrgb(135, 95, 216)
HSLhsl(260, 61%, 61%)
HSVhsv(260, 56%, 85%)
CMYKcmyk(37.5%, 56%, 0%, 15.3%)
CIE-LABlab(49.85, 42.71, -56.65)
CIE-LCHlch(49.85, 70.95, 307.01°)
OKLaboklab(58.56% 0.0772 -0.1608)
OKLCHoklch(58.56% 0.178 295.6)
XYZxyz(26.4754, 18.2927, 67.0884)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FD8 #B0D85F
analogous
#5F73D8 #875FD8 #C35FD8
triadic
#875FD8 #D8875F #5FD887
tetradic
#875FD8 #D85F73 #B0D85F #5FD8C3
square
#875FD8 #D85F73 #B0D85F #5FD8C3
split-complementary
#875FD8 #D8C35F #73D85F
monochromatic
#4B2598 #6331C9 #875FD8 #AC90E4 #D1C1F0

Accessibility & contrast

On white

4.51
#875FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#875FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FD8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FD8#FFFFFF#000000##000000
##875FD81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2377DC
Deuteranopia (green-blind)
#3175D5
Tritanopia (blue-blind)
#737892
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875fd8;
/* rgb */ color: rgb(135, 95, 216);
/* oklch */ color: oklch(58.6% 0.178 295.6);
Tailwind
colors: {
  custom: {
    50: '#ae8ee5',
    500: '#875fd8',
    950: '#000000',
  },
}
SCSS
$custom: #875fd8;
$custom-light: #ae8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#875fd8",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 259.835,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.17835,
    "h": 295.6
  },
  "luminance": 0.18293
}

Semantic roles & 50–950 ramp

primary
#875FD8
secondary
#D1E0B3
accent
#C81D90
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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