#875BBD#875BBD

#875BBD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.151 H 302.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#875BBD
RGBrgb(135, 91, 189)
HSLhsl(267, 43%, 55%)
HSVhsv(267, 52%, 74%)
CMYKcmyk(28.6%, 51.9%, 0%, 25.9%)
CIE-LABlab(47.38, 38.03, -45.11)
CIE-LCHlch(47.38, 59.00, 310.13°)
OKLaboklab(56.21% 0.0811 -0.127)
OKLCHoklch(56.21% 0.151 302.6)
XYZxyz(22.9160, 16.3072, 50.0746)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BBD #91BD5B
analogous
#5B60BD #875BBD #B85BBD
triadic
#875BBD #BD875B #5BBD87
tetradic
#875BBD #BD5B60 #91BD5B #5BBDB8
square
#875BBD #BD5B60 #91BD5B #5BBDB8
split-complementary
#875BBD #BDB85B #60BD5B
monochromatic
#4B2D70 #693F9C #875BBD #A787CF #C7B2E0

Accessibility & contrast

On white

4.93
#875BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#875BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BBD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BBD#FFFFFF#000000##FFFFFF
##875BBD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FC0
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#7D6D83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #875bbd;
/* rgb */ color: rgb(135, 91, 189);
/* oklch */ color: oklch(56.2% 0.151 302.6);
Tailwind
colors: {
  custom: {
    50: '#ad8bd1',
    500: '#875bbd',
    950: '#000000',
  },
}
SCSS
$custom: #875bbd;
$custom-light: #ad8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#875bbd",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 266.939,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.15064,
    "h": 302.6
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#875BBD
secondary
#BCCFA5
accent
#D2559A
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #875BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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