#875EBD#875EBD

#875EBD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.146 H 301.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#875EBD
RGBrgb(135, 94, 189)
HSLhsl(266, 42%, 55%)
HSVhsv(266, 50%, 74%)
CMYKcmyk(28.6%, 50.3%, 0%, 25.9%)
CIE-LABlab(48.05, 36.32, -44.04)
CIE-LCHlch(48.05, 57.09, 309.51°)
OKLaboklab(56.71% 0.077 -0.1238)
OKLCHoklch(56.71% 0.146 301.9)
XYZxyz(23.1776, 16.8304, 50.1618)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EBD #94BD5E
analogous
#5E64BD #875EBD #B65EBD
triadic
#875EBD #BD875E #5EBD87
tetradic
#875EBD #BD5E64 #94BD5E #5EBDB6
square
#875EBD #BD5E64 #94BD5E #5EBDB6
split-complementary
#875EBD #BDB65E #64BD5E
monochromatic
#4C2F72 #69409D #875EBD #A789CF #C8B5E1

Accessibility & contrast

On white

4.81
#875EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#875EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875EBD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EBD#FFFFFF#000000##FFFFFF
##875EBD1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F71C0
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#7D6F85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #875ebd;
/* rgb */ color: rgb(135, 94, 189);
/* oklch */ color: oklch(56.7% 0.146 301.9);
Tailwind
colors: {
  custom: {
    50: '#ac8dd1',
    500: '#875ebd',
    950: '#000000',
  },
}
SCSS
$custom: #875ebd;
$custom-light: #ac8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#875ebd",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 265.895,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.14583,
    "h": 301.9
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#875EBD
secondary
#BECFA8
accent
#D2569C
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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