#9917B4#9917B4

#9917B4 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.5% C 0.230 H 319.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9917B4
RGBrgb(153, 23, 180)
HSLhsl(290, 77%, 40%)
HSVhsv(290, 87%, 71%)
CMYKcmyk(15%, 87.2%, 0%, 29.4%)
CIE-LABlab(39.04, 68.27, -53.07)
CIE-LCHlch(39.04, 86.47, 322.14°)
OKLaboklab(50.53% 0.1744 -0.1494)
OKLCHoklch(50.53% 0.23 319.4)
XYZxyz(21.6804, 10.6815, 44.0909)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9917B4 #32B417
analogous
#4B17B4 #9917B4 #B41780
triadic
#9917B4 #B49917 #17B499
tetradic
#9917B4 #B44B17 #32B417 #1780B4
square
#9917B4 #B44B17 #32B417 #1780B4
split-complementary
#9917B4 #80B417 #17B44B
monochromatic
#3D0947 #6B107E #9917B4 #C225E3 #D25BEA

Accessibility & contrast

On white

6.70
#9917B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9917B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9917B4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9917B4#FFFFFF#000000##FFFFFF
##9917B41.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#993F6B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9917b4;
/* rgb */ color: rgb(153, 23, 180);
/* oklch */ color: oklch(50.5% 0.230 319.4);
Tailwind
colors: {
  custom: {
    50: '#bc6acb',
    500: '#9917b4',
    950: '#000000',
  },
}
SCSS
$custom: #9917b4;
$custom-light: #bc6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#9917b4",
  "rgb": {
    "r": 153,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 289.682,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.22961,
    "h": 319.4
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#9917B4
secondary
#6DCE59
accent
#F43455
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#130813
muted
#827A82

Preview Lab

Preview with #9917B4

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

Preview Lab → · Contrast checker → · Palette generator →

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