#9817A0#9817A0

#9817A0 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.214 H 325.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9817A0
RGBrgb(152, 23, 160)
HSLhsl(296, 75%, 36%)
HSVhsv(296, 86%, 63%)
CMYKcmyk(5%, 85.6%, 0%, 37.3%)
CIE-LABlab(37.53, 64.66, -43.54)
CIE-LCHlch(37.53, 77.96, 326.04°)
OKLaboklab(49.02% 0.1763 -0.1215)
OKLCHoklch(49.02% 0.214 325.4)
XYZxyz(19.6000, 9.8276, 34.1155)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9817A0 #1FA017
analogous
#5317A0 #9817A0 #A01763
triadic
#9817A0 #A09817 #17A098
tetradic
#9817A0 #A05317 #1FA017 #1763A0
square
#9817A0 #A05317 #1FA017 #1763A0
split-complementary
#9817A0 #63A017 #17A053
monochromatic
#320835 #650F6A #9817A0 #CB1FD6 #DC4CE5

Accessibility & contrast

On white

7.08
#9817A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9817A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9817A0
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9817A0#FFFFFF#000000##FFFFFF
##9817A01.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#3A5D9D
Tritanopia (blue-blind)
#9C355F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9817a0;
/* rgb */ color: rgb(152, 23, 160);
/* oklch */ color: oklch(49.0% 0.214 325.4);
Tailwind
colors: {
  custom: {
    50: '#bb69bd',
    500: '#9817a0',
    950: '#000000',
  },
}
SCSS
$custom: #9817a0;
$custom-light: #bb69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9817a0",
  "rgb": {
    "r": 152,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 296.496,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49017,
    "c": 0.21408,
    "h": 325.4
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#9817A0
secondary
#53C74C
accent
#F13641
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9817A0

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

Preview Lab → · Contrast checker → · Palette generator →

#9817A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva