#875BD7#875BD7

#875BD7 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.9% C 0.183 H 296.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#875BD7
RGBrgb(135, 91, 215)
HSLhsl(261, 61%, 60%)
HSVhsv(261, 58%, 84%)
CMYKcmyk(37.2%, 57.7%, 0%, 15.7%)
CIE-LABlab(48.93, 44.68, -57.56)
CIE-LCHlch(48.93, 72.86, 307.82°)
OKLaboklab(57.86% 0.082 -0.1635)
OKLCHoklch(57.86% 0.183 296.6)
XYZxyz(25.9954, 17.5389, 66.2926)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BD7 #ABD75B
analogous
#5B6DD7 #875BD7 #C55BD7
triadic
#875BD7 #D7875B #5BD787
tetradic
#875BD7 #D75B6D #ABD75B #5BD7C5
square
#875BD7 #D75B6D #ABD75B #5BD7C5
split-complementary
#875BD7 #D7C55B #6DD75B
monochromatic
#4C2494 #6530C5 #875BD7 #AB8CE3 #CFBDEF

Accessibility & contrast

On white

4.66
#875BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#875BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875BD7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BD7#FFFFFF#000000##FFFFFF
##875BD71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1675DB
Deuteranopia (green-blind)
#2B73D4
Tritanopia (blue-blind)
#747590
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875bd7;
/* rgb */ color: rgb(135, 91, 215);
/* oklch */ color: oklch(57.9% 0.183 296.6);
Tailwind
colors: {
  custom: {
    50: '#af8be4',
    500: '#875bd7',
    950: '#000000',
  },
}
SCSS
$custom: #875bd7;
$custom-light: #af8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#875bd7",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 261.29,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.57863,
    "c": 0.18286,
    "h": 296.6
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#875BD7
secondary
#CEDFAF
accent
#E444AB
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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