#9217A0#9217A0

#9217A0 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.212 H 323.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9217A0
RGBrgb(146, 23, 160)
HSLhsl(294, 75%, 36%)
HSVhsv(294, 86%, 63%)
CMYKcmyk(8.8%, 85.6%, 0%, 37.3%)
CIE-LABlab(36.49, 63.56, -45.28)
CIE-LCHlch(36.49, 78.04, 324.53°)
OKLaboklab(48.08% 0.1696 -0.1267)
OKLCHoklch(48.08% 0.212 323.2)
XYZxyz(18.5050, 9.2630, 34.0641)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9217A0 #25A017
analogous
#4E17A0 #9217A0 #A01769
triadic
#9217A0 #A09217 #17A092
tetradic
#9217A0 #A04E17 #25A017 #1769A0
square
#9217A0 #A04E17 #25A017 #1769A0
split-complementary
#9217A0 #69A017 #17A04E
monochromatic
#300835 #610F6A #9217A0 #C31FD6 #D64CE5

Accessibility & contrast

On white

7.36
#9217A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9217A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9217A0
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9217A0#FFFFFF#000000##FFFFFF
##9217A01.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#335A9D
Tritanopia (blue-blind)
#94365F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9217a0;
/* rgb */ color: rgb(146, 23, 160);
/* oklch */ color: oklch(48.1% 0.212 323.2);
Tailwind
colors: {
  custom: {
    50: '#b668bd',
    500: '#9217a0',
    950: '#000000',
  },
}
SCSS
$custom: #9217a0;
$custom-light: #b668bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9217a0",
  "rgb": {
    "r": 146,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 293.869,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48082,
    "c": 0.21172,
    "h": 323.2
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#9217A0
secondary
#58C74C
accent
#F13649
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9217A0

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

Preview Lab → · Contrast checker → · Palette generator →

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