#875BB3#875BB3

#875BB3 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.6% C 0.138 H 305.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#875BB3
RGBrgb(135, 91, 179)
HSLhsl(270, 37%, 53%)
HSVhsv(270, 49%, 70%)
CMYKcmyk(24.6%, 49.2%, 0%, 29.8%)
CIE-LABlab(46.83, 35.57, -40.16)
CIE-LCHlch(46.83, 53.65, 311.53°)
OKLaboklab(55.63% 0.0801 -0.1125)
OKLCHoklch(55.63% 0.138 305.5)
XYZxyz(21.8677, 15.8879, 44.5537)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BB3 #87B35B
analogous
#5B5BB3 #875BB3 #B35BB3
triadic
#875BB3 #B3875B #5BB387
tetradic
#875BB3 #B35B5B #87B35B #5BB3B3
square
#875BB3 #B35B5B #87B35B #5BB3B3
split-complementary
#875BB3 #B3B35B #5BB35B
monochromatic
#4A2F65 #68428F #875BB3 #A685C6 #C4AFDA

Accessibility & contrast

On white

5.03
#875BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#875BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BB3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BB3#FFFFFF#000000##FFFFFF
##875BB31.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426EB6
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#806A7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875bb3;
/* rgb */ color: rgb(135, 91, 179);
/* oklch */ color: oklch(55.6% 0.138 305.5);
Tailwind
colors: {
  custom: {
    50: '#ac8aca',
    500: '#875bb3',
    950: '#000000',
  },
}
SCSS
$custom: #875bb3;
$custom-light: #ac8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#875bb3",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 270,
    "s": 36.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55629,
    "c": 0.13811,
    "h": 305.5
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#875BB3
secondary
#B5C8A2
accent
#CD5B94
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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