#875BB2#875BB2

#875BB2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.137 H 305.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#875BB2
RGBrgb(135, 91, 178)
HSLhsl(270, 36%, 53%)
HSVhsv(270, 49%, 70%)
CMYKcmyk(24.2%, 48.9%, 0%, 30.2%)
CIE-LABlab(46.77, 35.33, -39.66)
CIE-LCHlch(46.77, 53.11, 311.70°)
OKLaboklab(55.57% 0.08 -0.111)
OKLCHoklch(55.57% 0.137 305.8)
XYZxyz(21.7670, 15.8476, 44.0230)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BB2 #86B25B
analogous
#5B5BB2 #875BB2 #B25BB2
triadic
#875BB2 #B2875B #5BB287
tetradic
#875BB2 #B25B5B #86B25B #5BB2B2
square
#875BB2 #B25B5B #86B25B #5BB2B2
split-complementary
#875BB2 #B2B25B #5BB25B
monochromatic
#4A2F64 #68428D #875BB2 #A585C6 #C4AED9

Accessibility & contrast

On white

5.04
#875BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#875BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BB2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BB2#FFFFFF#000000##FFFFFF
##875BB21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB5
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#806A7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875bb2;
/* rgb */ color: rgb(135, 91, 178);
/* oklch */ color: oklch(55.6% 0.137 305.8);
Tailwind
colors: {
  custom: {
    50: '#ac8ac9',
    500: '#875bb2',
    950: '#000000',
  },
}
SCSS
$custom: #875bb2;
$custom-light: #ac8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#875bb2",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 270.345,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55572,
    "c": 0.13686,
    "h": 305.8
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#875BB2
secondary
#B4C7A2
accent
#CC5C93
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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