#875AA2#875AA2

#875AA2 is a mid, moderate violet. Relative luminance 0.151; OKLCH L 54.5% C 0.119 H 311.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#875AA2
RGBrgb(135, 90, 162)
HSLhsl(278, 29%, 49%)
HSVhsv(278, 44%, 64%)
CMYKcmyk(16.7%, 44.4%, 0%, 36.5%)
CIE-LABlab(45.73, 32.14, -31.89)
CIE-LCHlch(45.73, 45.27, 315.22°)
OKLaboklab(54.53% 0.0791 -0.0885)
OKLCHoklch(54.53% 0.119 311.8)
XYZxyz(20.1683, 15.0722, 36.0222)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AA2 #75A25A
analogous
#635AA2 #875AA2 #A25A99
triadic
#875AA2 #A2875A #5AA287
tetradic
#875AA2 #A2635A #75A25A #5A99A2
square
#875AA2 #A2635A #75A25A #5A99A2
split-complementary
#875AA2 #99A25A #5AA263
monochromatic
#452E53 #66447B #875AA2 #A480B9 #C0A8CF

Accessibility & contrast

On white

5.23
#875AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#875AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AA2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AA2#FFFFFF#000000##FFFFFF
##875AA21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#846576
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #875aa2;
/* rgb */ color: rgb(135, 90, 162);
/* oklch */ color: oklch(54.5% 0.119 311.8);
Tailwind
colors: {
  custom: {
    50: '#ab89be',
    500: '#875aa2',
    950: '#000000',
  },
}
SCSS
$custom: #875aa2;
$custom-light: #ab89be;
$custom-dark: #000000;
JSON
{
  "hex": "#875aa2",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 277.5,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.11868,
    "h": 311.8
  },
  "luminance": 0.15072
}

Semantic roles & 50–950 ramp

primary
#875AA2
secondary
#A8BD9B
accent
#C56388
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #875AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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