#9216B4#9216B4

#9216B4 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.4% C 0.228 H 316.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9216B4
RGBrgb(146, 22, 180)
HSLhsl(287, 78%, 40%)
HSVhsv(287, 88%, 71%)
CMYKcmyk(18.9%, 87.8%, 0%, 29.4%)
CIE-LABlab(37.81, 67.32, -55.12)
CIE-LCHlch(37.81, 87.01, 320.69°)
OKLaboklab(49.45% 0.1665 -0.1556)
OKLCHoklch(49.45% 0.228 316.9)
XYZxyz(20.3779, 9.9810, 44.0243)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9216B4 #38B416
analogous
#4316B4 #9216B4 #B41687
triadic
#9216B4 #B49216 #16B492
tetradic
#9216B4 #B44316 #38B416 #1687B4
square
#9216B4 #B44316 #38B416 #1687B4
split-complementary
#9216B4 #87B416 #16B443
monochromatic
#3A0947 #660F7D #9216B4 #BB23E4 #CC5AEB

Accessibility & contrast

On white

7.01
#9216B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9216B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9216B4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9216B4#FFFFFF#000000##FFFFFF
##9216B41.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#175CB1
Tritanopia (blue-blind)
#90416B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9216b4;
/* rgb */ color: rgb(146, 22, 180);
/* oklch */ color: oklch(49.4% 0.228 316.9);
Tailwind
colors: {
  custom: {
    50: '#b768cb',
    500: '#9216b4',
    950: '#000000',
  },
}
SCSS
$custom: #9216b4;
$custom-light: #b768cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9216b4",
  "rgb": {
    "r": 146,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 287.089,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49448,
    "c": 0.22789,
    "h": 316.9
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#9216B4
secondary
#71CE58
accent
#F5335D
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9216B4

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

Preview Lab → · Contrast checker → · Palette generator →

#9216B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva