#875BB5#875BB5

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

Color values

HEX#875BB5
RGBrgb(135, 91, 181)
HSLhsl(269, 38%, 53%)
HSVhsv(269, 50%, 71%)
CMYKcmyk(25.4%, 49.7%, 0%, 29%)
CIE-LABlab(46.93, 36.06, -41.16)
CIE-LCHlch(46.93, 54.72, 311.22°)
OKLaboklab(55.74% 0.0803 -0.1154)
OKLCHoklch(55.74% 0.141 304.8)
XYZxyz(22.0715, 15.9694, 45.6267)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BB5 #89B55B
analogous
#5B5CB5 #875BB5 #B45BB5
triadic
#875BB5 #B5875B #5BB587
tetradic
#875BB5 #B55B5C #89B55B #5BB5B4
square
#875BB5 #B55B5C #89B55B #5BB5B4
split-complementary
#875BB5 #B5B45B #5CB55B
monochromatic
#4A2F67 #694291 #875BB5 #A685C8 #C5AFDB

Accessibility & contrast

On white

5.01
#875BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #875BB5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BB5#FFFFFF#000000##FFFFFF
##875BB51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416EB8
Deuteranopia (green-blind)
#4D6FB3
Tritanopia (blue-blind)
#7F6B7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #875bb5;
/* rgb */ color: rgb(135, 91, 181);
/* oklch */ color: oklch(55.7% 0.141 304.8);
Tailwind
colors: {
  custom: {
    50: '#ac8acb',
    500: '#875bb5',
    950: '#000000',
  },
}
SCSS
$custom: #875bb5;
$custom-light: #ac8acb;
$custom-dark: #000000;
JSON
{
  "hex": "#875bb5",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 269.333,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.14061,
    "h": 304.8
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#875BB5
secondary
#B6C9A3
accent
#CE5A95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #875BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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