#875BB4#875BB4

#875BB4 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.139 H 305.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#875BB4
RGBrgb(135, 91, 180)
HSLhsl(270, 37%, 53%)
HSVhsv(270, 49%, 71%)
CMYKcmyk(25%, 49.4%, 0%, 29.4%)
CIE-LABlab(46.88, 35.81, -40.66)
CIE-LCHlch(46.88, 54.18, 311.38°)
OKLaboklab(55.69% 0.0802 -0.114)
OKLCHoklch(55.69% 0.139 305.1)
XYZxyz(21.9692, 15.9285, 45.0883)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BB4 #88B45B
analogous
#5B5BB4 #875BB4 #B35BB4
triadic
#875BB4 #B4875B #5BB487
tetradic
#875BB4 #B45B5B #88B45B #5BB4B3
square
#875BB4 #B45B5B #88B45B #5BB4B3
split-complementary
#875BB4 #B4B35B #5BB45B
monochromatic
#4A2F66 #684290 #875BB4 #A685C7 #C4AFDA

Accessibility & contrast

On white

5.02
#875BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#875BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BB4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BB4#FFFFFF#000000##FFFFFF
##875BB41.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416EB7
Deuteranopia (green-blind)
#4D6FB2
Tritanopia (blue-blind)
#806B7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875bb4;
/* rgb */ color: rgb(135, 91, 180);
/* oklch */ color: oklch(55.7% 0.139 305.1);
Tailwind
colors: {
  custom: {
    50: '#ac8acb',
    500: '#875bb4',
    950: '#000000',
  },
}
SCSS
$custom: #875bb4;
$custom-light: #ac8acb;
$custom-dark: #000000;
JSON
{
  "hex": "#875bb4",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 269.663,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.13936,
    "h": 305.1
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

primary
#875BB4
secondary
#B6C9A2
accent
#CD5B95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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