#9918A1#9918A1

#9918A1 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.215 H 325.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9918A1
RGBrgb(153, 24, 161)
HSLhsl(296, 74%, 36%)
HSVhsv(296, 85%, 63%)
CMYKcmyk(5%, 85.1%, 0%, 36.9%)
CIE-LABlab(37.84, 64.80, -43.64)
CIE-LCHlch(37.84, 78.12, 326.04°)
OKLaboklab(49.29% 0.1767 -0.1217)
OKLCHoklch(49.29% 0.215 325.4)
XYZxyz(19.8961, 10.0002, 34.5936)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9918A1 #20A118
analogous
#5518A1 #9918A1 #A11865
triadic
#9918A1 #A19918 #18A199
tetradic
#9918A1 #A15518 #20A118 #1865A1
square
#9918A1 #A15518 #20A118 #1865A1
split-complementary
#9918A1 #65A118 #18A155
monochromatic
#340836 #66106C #9918A1 #CC20D6 #DC4FE5

Accessibility & contrast

On white

7.00
#9918A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9918A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9918A1
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9918A1#FFFFFF#000000##FFFFFF
##9918A11.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#9D3560
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9918a1;
/* rgb */ color: rgb(153, 24, 161);
/* oklch */ color: oklch(49.3% 0.215 325.4);
Tailwind
colors: {
  custom: {
    50: '#bb69bd',
    500: '#9918a1',
    950: '#000000',
  },
}
SCSS
$custom: #9918a1;
$custom-light: #bb69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9918a1",
  "rgb": {
    "r": 153,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 296.496,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.21456,
    "h": 325.4
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#9918A1
secondary
#55C74E
accent
#F13742
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9918A1

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

Preview Lab → · Contrast checker → · Palette generator →

#9918A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva