#875DB7#875DB7

#875DB7 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.140 H 303.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#875DB7
RGBrgb(135, 93, 183)
HSLhsl(268, 38%, 54%)
HSVhsv(268, 49%, 72%)
CMYKcmyk(26.2%, 49.2%, 0%, 28.2%)
CIE-LABlab(47.49, 35.40, -41.44)
CIE-LCHlch(47.49, 54.50, 310.51°)
OKLaboklab(56.19% 0.0778 -0.1162)
OKLCHoklch(56.19% 0.14 303.8)
XYZxyz(22.4514, 16.3986, 46.7730)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DB7 #8DB75D
analogous
#5D60B7 #875DB7 #B45DB7
triadic
#875DB7 #B7875D #5DB787
tetradic
#875DB7 #B75D60 #8DB75D #5DB7B4
square
#875DB7 #B75D60 #8DB75D #5DB7B4
split-complementary
#875DB7 #B7B45D #60B75D
monochromatic
#4B2F6A #694295 #875DB7 #A687CA #C6B2DD

Accessibility & contrast

On white

4.91
#875DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#875DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875DB7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DB7#FFFFFF#000000##FFFFFF
##875DB71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4270BA
Deuteranopia (green-blind)
#4E71B5
Tritanopia (blue-blind)
#7F6D81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875db7;
/* rgb */ color: rgb(135, 93, 183);
/* oklch */ color: oklch(56.2% 0.140 303.8);
Tailwind
colors: {
  custom: {
    50: '#ac8ccd',
    500: '#875db7',
    950: '#000000',
  },
}
SCSS
$custom: #875db7;
$custom-light: #ac8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#875db7",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 268,
    "s": 38.462,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.13984,
    "h": 303.8
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#875DB7
secondary
#B9CBA5
accent
#CE5998
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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