#875DD9#875DD9

#875DD9 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.182 H 295.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#875DD9
RGBrgb(135, 93, 217)
HSLhsl(260, 62%, 61%)
HSVhsv(260, 57%, 85%)
CMYKcmyk(37.8%, 57.1%, 0%, 14.9%)
CIE-LABlab(49.48, 44.09, -57.81)
CIE-LCHlch(49.48, 72.71, 307.33°)
OKLaboklab(58.31% 0.0796 -0.1642)
OKLCHoklch(58.31% 0.182 295.9)
XYZxyz(26.4272, 17.9889, 67.7120)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DD9 #AFD95D
analogous
#5D71D9 #875DD9 #C55DD9
triadic
#875DD9 #D9875D #5DD987
tetradic
#875DD9 #D95D71 #AFD95D #5DD9C5
square
#875DD9 #D95D71 #AFD95D #5DD9C5
split-complementary
#875DD9 #D9C55D #71D95D
monochromatic
#4B2498 #642FCA #875DD9 #AC8FE5 #D0C0F0

Accessibility & contrast

On white

4.57
#875DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#875DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DD9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DD9#FFFFFF#000000##000000
##875DD91.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1976DD
Deuteranopia (green-blind)
#2C74D6
Tritanopia (blue-blind)
#737792
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875dd9;
/* rgb */ color: rgb(135, 93, 217);
/* oklch */ color: oklch(58.3% 0.182 295.9);
Tailwind
colors: {
  custom: {
    50: '#af8ce5',
    500: '#875dd9',
    950: '#000000',
  },
}
SCSS
$custom: #875dd9;
$custom-light: #af8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#875dd9",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 260.323,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.18247,
    "h": 295.9
  },
  "luminance": 0.17989
}

Semantic roles & 50–950 ramp

primary
#875DD9
secondary
#D0E0B1
accent
#CA1C8F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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