#9A1D93#9A1D93

#9A1D93 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.201 H 330.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9A1D93
RGBrgb(154, 29, 147)
HSLhsl(303, 68%, 36%)
HSVhsv(303, 81%, 60%)
CMYKcmyk(0%, 81.2%, 4.5%, 39.6%)
CIE-LABlab(37.58, 61.55, -35.55)
CIE-LCHlch(37.58, 71.08, 329.99°)
OKLaboklab(48.87% 0.1752 -0.0982)
OKLCHoklch(48.87% 0.201 330.7)
XYZxyz(19.0322, 9.8569, 28.4983)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D93 #1D9A24
analogous
#621D9A #9A1D93 #9A1D54
triadic
#9A1D93 #939A1D #1D939A
tetradic
#9A1D93 #9A621D #1D9A24 #1D549A
square
#9A1D93 #9A621D #1D9A24 #1D549A
split-complementary
#9A1D93 #549A1D #1D9A62
monochromatic
#330A31 #661362 #9A1D93 #CE27C4 #DF53D7

Accessibility & contrast

On white

7.07
#9A1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9A1D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D93
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D93#FFFFFF#000000##FFFFFF
##9A1D931.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E96
Deuteranopia (green-blind)
#475E90
Tritanopia (blue-blind)
#A03058
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a1d93;
/* rgb */ color: rgb(154, 29, 147);
/* oklch */ color: oklch(48.9% 0.201 330.7);
Tailwind
colors: {
  custom: {
    50: '#bc6ab3',
    500: '#9a1d93',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d93;
$custom-light: #bc6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d93",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 303.36,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4887,
    "c": 0.20083,
    "h": 330.7
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#9A1D93
secondary
#51C257
accent
#EB463D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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