#9A1D99#9A1D99

#9A1D99 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.205 H 328.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9A1D99
RGBrgb(154, 29, 153)
HSLhsl(300, 68%, 36%)
HSVhsv(300, 81%, 60%)
CMYKcmyk(0%, 81.2%, 0.6%, 39.6%)
CIE-LABlab(37.93, 62.51, -38.65)
CIE-LCHlch(37.93, 73.49, 328.27°)
OKLaboklab(49.23% 0.175 -0.1072)
OKLCHoklch(49.23% 0.205 328.5)
XYZxyz(19.5154, 10.0502, 31.0428)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D99 #1D9A1E
analogous
#5C1D9A #9A1D99 #9A1D5A
triadic
#9A1D99 #999A1D #1D999A
tetradic
#9A1D99 #9A5C1D #1D9A1E #1D5A9A
square
#9A1D99 #9A5C1D #1D9A1E #1D5A9A
split-complementary
#9A1D99 #5A9A1D #1D9A5C
monochromatic
#330A33 #661366 #9A1D99 #CE27CC #DF53DD

Accessibility & contrast

On white

6.98
#9A1D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A1D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1D99
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D99#FFFFFF#000000##FFFFFF
##9A1D991.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#9F335C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a1d99;
/* rgb */ color: rgb(154, 29, 153);
/* oklch */ color: oklch(49.2% 0.205 328.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ab7',
    500: '#9a1d99',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d99;
$custom-light: #bc6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d99",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 300.48,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49229,
    "c": 0.20524,
    "h": 328.5
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#9A1D99
secondary
#51C252
accent
#EB3E3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1D99

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

Preview Lab → · Contrast checker → · Palette generator →

#9A1D99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva