#875CA8#875CA8

#875CA8 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.2% C 0.123 H 309.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#875CA8
RGBrgb(135, 92, 168)
HSLhsl(274, 30%, 51%)
HSVhsv(274, 45%, 66%)
CMYKcmyk(19.6%, 45.2%, 0%, 34.1%)
CIE-LABlab(46.49, 32.37, -34.24)
CIE-LCHlch(46.49, 47.12, 313.39°)
OKLaboklab(55.19% 0.0771 -0.0953)
OKLCHoklch(55.19% 0.123 309)
XYZxyz(20.8854, 15.6326, 38.9553)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CA8 #7DA85C
analogous
#615CA8 #875CA8 #A85CA3
triadic
#875CA8 #A8875C #5CA887
tetradic
#875CA8 #A8615C #7DA85C #5CA3A8
square
#875CA8 #A8615C #7DA85C #5CA3A8
split-complementary
#875CA8 #A3A85C #5CA861
monochromatic
#48305A #674582 #875CA8 #A484BD #C2ACD3

Accessibility & contrast

On white

5.09
#875CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#875CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CA8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CA8#FFFFFF#000000##FFFFFF
##875CA81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAB
Deuteranopia (green-blind)
#556FA6
Tritanopia (blue-blind)
#83687A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #875ca8;
/* rgb */ color: rgb(135, 92, 168);
/* oklch */ color: oklch(55.2% 0.123 309.0);
Tailwind
colors: {
  custom: {
    50: '#ab8bc2',
    500: '#875ca8',
    950: '#000000',
  },
}
SCSS
$custom: #875ca8;
$custom-light: #ab8bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#875ca8",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 273.947,
    "s": 30.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.12262,
    "h": 309
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#875CA8
secondary
#AEC19F
accent
#C7618D
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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