#9873AE#9873AE

#9873AE is a mid, moderate violet. Relative luminance 0.220; OKLCH L 61.4% C 0.096 H 312.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9873AE
RGBrgb(152, 115, 174)
HSLhsl(278, 27%, 57%)
HSVhsv(278, 34%, 68%)
CMYKcmyk(12.6%, 33.9%, 0%, 31.8%)
CIE-LABlab(54.02, 25.73, -25.87)
CIE-LCHlch(54.02, 36.48, 314.84°)
OKLaboklab(61.38% 0.0648 -0.071)
OKLCHoklch(61.38% 0.096 312.3)
XYZxyz(26.7183, 21.9933, 42.8738)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873AE #89AE73
analogous
#7B73AE #9873AE #AE73A7
triadic
#9873AE #AE9873 #73AE98
tetradic
#9873AE #AE7B73 #89AE73 #73A7AE
square
#9873AE #AE7B73 #89AE73 #73A7AE
split-complementary
#9873AE #A7AE73 #73AE7B
monochromatic
#593D6A #7A5390 #9873AE #B59AC4 #D1C1DB

Accessibility & contrast

On white

3.89
#9873AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9873AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873AE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873AE#FFFFFF#000000##000000
##9873AE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FB0
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#967B89
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9873ae;
/* rgb */ color: rgb(152, 115, 174);
/* oklch */ color: oklch(61.4% 0.096 312.3);
Tailwind
colors: {
  custom: {
    50: '#b79bc6',
    500: '#9873ae',
    950: '#000000',
  },
}
SCSS
$custom: #9873ae;
$custom-light: #b79bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9873ae",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 174
  },
  "hsl": {
    "h": 277.627,
    "s": 26.697,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.09612,
    "h": 312.3
  },
  "luminance": 0.21993
}

Semantic roles & 50–950 ramp

primary
#9873AE
secondary
#BBCAB2
accent
#C36588
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #9873AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9873AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva