#875CB1#875CB1

#875CB1 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.7% C 0.134 H 305.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#875CB1
RGBrgb(135, 92, 177)
HSLhsl(270, 35%, 53%)
HSVhsv(270, 48%, 69%)
CMYKcmyk(23.7%, 48%, 0%, 30.6%)
CIE-LABlab(46.95, 34.51, -38.80)
CIE-LCHlch(46.95, 51.93, 311.66°)
OKLaboklab(55.68% 0.0785 -0.1085)
OKLCHoklch(55.68% 0.134 305.9)
XYZxyz(21.7530, 15.9797, 43.5249)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CB1 #86B15C
analogous
#5C5CB1 #875CB1 #B15CB1
triadic
#875CB1 #B1875C #5CB187
tetradic
#875CB1 #B15C5C #86B15C #5CB1B1
square
#875CB1 #B15C5C #86B15C #5CB1B1
split-complementary
#875CB1 #B1B15C #5CB15C
monochromatic
#4A2F63 #68438D #875CB1 #A585C5 #C4AFD9

Accessibility & contrast

On white

5.00
#875CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#875CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CB1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CB1#FFFFFF#000000##FFFFFF
##875CB11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456EB4
Deuteranopia (green-blind)
#5070AF
Tritanopia (blue-blind)
#806A7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875cb1;
/* rgb */ color: rgb(135, 92, 177);
/* oklch */ color: oklch(55.7% 0.134 305.9);
Tailwind
colors: {
  custom: {
    50: '#ac8bc9',
    500: '#875cb1',
    950: '#000000',
  },
}
SCSS
$custom: #875cb1;
$custom-light: #ac8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#875cb1",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 270.353,
    "s": 35.27,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55684,
    "c": 0.13393,
    "h": 305.9
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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