#9873AF#9873AF

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

Color values

HEX#9873AF
RGBrgb(152, 115, 175)
HSLhsl(277, 27%, 57%)
HSVhsv(277, 34%, 69%)
CMYKcmyk(13.1%, 34.3%, 0%, 31.4%)
CIE-LABlab(54.06, 25.95, -26.38)
CIE-LCHlch(54.06, 37.00, 314.53°)
OKLaboklab(61.43% 0.065 -0.0725)
OKLCHoklch(61.43% 0.097 311.9)
XYZxyz(26.8162, 22.0324, 43.3891)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9873AF #8AAF73
analogous
#7A73AF #9873AF #AF73A8
triadic
#9873AF #AF9873 #73AF98
tetradic
#9873AF #AF7A73 #8AAF73 #73A8AF
square
#9873AF #AF7A73 #8AAF73 #73A8AF
split-complementary
#9873AF #A8AF73 #73AF7A
monochromatic
#593D6B #7A5392 #9873AF #B59AC5 #D1C1DC

Accessibility & contrast

On white

3.88
#9873AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9873AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9873AF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9873AF#FFFFFF#000000##000000
##9873AF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9873af;
/* rgb */ color: rgb(152, 115, 175);
/* oklch */ color: oklch(61.4% 0.097 311.9);
Tailwind
colors: {
  custom: {
    50: '#b79bc7',
    500: '#9873af',
    950: '#000000',
  },
}
SCSS
$custom: #9873af;
$custom-light: #b79bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9873af",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 277,
    "s": 27.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61428,
    "c": 0.09737,
    "h": 311.9
  },
  "luminance": 0.22032
}

Semantic roles & 50–950 ramp

primary
#9873AF
secondary
#BCCBB3
accent
#C46489
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #9873AF

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

Preview Lab → · Contrast checker → · Palette generator →

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