#875BCD#875BCD

#875BCD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.171 H 298.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#875BCD
RGBrgb(135, 91, 205)
HSLhsl(263, 53%, 58%)
HSVhsv(263, 56%, 80%)
CMYKcmyk(34.1%, 55.6%, 0%, 19.6%)
CIE-LABlab(48.31, 42.08, -52.84)
CIE-LCHlch(48.31, 67.55, 308.53°)
OKLaboklab(57.21% 0.0819 -0.1496)
OKLCHoklch(57.21% 0.171 298.7)
XYZxyz(24.7495, 17.0406, 59.7310)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BCD #A1CD5B
analogous
#5B68CD #875BCD #C05BCD
triadic
#875BCD #CD875B #5BCD87
tetradic
#875BCD #CD5B68 #A1CD5B #5BCDC0
square
#875BCD #CD5B68 #A1CD5B #5BCDC0
split-complementary
#875BCD #CDC05B #68CD5B
monochromatic
#4C2985 #6737B4 #875BCD #A98ADB #CCB9EA

Accessibility & contrast

On white

4.76
#875BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#875BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BCD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BCD#FFFFFF#000000##FFFFFF
##875BCD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#3872CA
Tritanopia (blue-blind)
#78728B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #875bcd;
/* rgb */ color: rgb(135, 91, 205);
/* oklch */ color: oklch(57.2% 0.171 298.7);
Tailwind
colors: {
  custom: {
    50: '#ae8bdd',
    500: '#875bcd',
    950: '#000000',
  },
}
SCSS
$custom: #875bcd;
$custom-light: #ae8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#875bcd",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 263.158,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.17056,
    "h": 298.7
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#875BCD
secondary
#C7D9AB
accent
#DD4BA4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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