#875AAA#875AAA

#875AAA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.129 H 308.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#875AAA
RGBrgb(135, 90, 170)
HSLhsl(274, 32%, 51%)
HSVhsv(274, 47%, 67%)
CMYKcmyk(20.6%, 47.1%, 0%, 33.3%)
CIE-LABlab(46.13, 33.99, -35.98)
CIE-LCHlch(46.13, 49.50, 313.37°)
OKLaboklab(54.96% 0.0804 -0.1003)
OKLCHoklch(54.96% 0.129 308.7)
XYZxyz(20.9021, 15.3658, 39.8872)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AAA #7DAA5A
analogous
#5F5AAA #875AAA #AA5AA5
triadic
#875AAA #AA875A #5AAA87
tetradic
#875AAA #AA5F5A #7DAA5A #5AA5AA
square
#875AAA #AA5F5A #7DAA5A #5AA5AA
split-complementary
#875AAA #A5AA5A #5AAA5F
monochromatic
#482F5B #674483 #875AAA #A482BF #C2ABD4

Accessibility & contrast

On white

5.16
#875AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#875AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AAA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AAA#FFFFFF#000000##FFFFFF
##875AAA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476BAD
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#82677A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #875aaa;
/* rgb */ color: rgb(135, 90, 170);
/* oklch */ color: oklch(55.0% 0.129 308.7);
Tailwind
colors: {
  custom: {
    50: '#ac8ac3',
    500: '#875aaa',
    950: '#000000',
  },
}
SCSS
$custom: #875aaa;
$custom-light: #ac8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#875aaa",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 273.75,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.12856,
    "h": 308.7
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#875AAA
secondary
#AEC29E
accent
#C8608D
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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