#9A1D96#9A1D96

#9A1D96 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.203 H 329.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9A1D96
RGBrgb(154, 29, 150)
HSLhsl(302, 68%, 36%)
HSVhsv(302, 81%, 60%)
CMYKcmyk(0%, 81.2%, 2.6%, 39.6%)
CIE-LABlab(37.76, 62.03, -37.10)
CIE-LCHlch(37.76, 72.28, 329.11°)
OKLaboklab(49.05% 0.1751 -0.1027)
OKLCHoklch(49.05% 0.203 329.6)
XYZxyz(19.2707, 9.9523, 29.7543)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D96 #1D9A21
analogous
#5F1D9A #9A1D96 #9A1D57
triadic
#9A1D96 #969A1D #1D969A
tetradic
#9A1D96 #9A5F1D #1D9A21 #1D579A
square
#9A1D96 #9A5F1D #1D9A21 #1D579A
split-complementary
#9A1D96 #579A1D #1D9A5F
monochromatic
#330A32 #661364 #9A1D96 #CE27C8 #DF53DA

Accessibility & contrast

On white

7.02
#9A1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9A1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D96
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D96#FFFFFF#000000##FFFFFF
##9A1D961.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#455F93
Tritanopia (blue-blind)
#A0315A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a1d96;
/* rgb */ color: rgb(154, 29, 150);
/* oklch */ color: oklch(49.0% 0.203 329.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ab5',
    500: '#9a1d96',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d96;
$custom-light: #bc6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d96",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 301.92,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49048,
    "c": 0.20302,
    "h": 329.6
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#9A1D96
secondary
#51C255
accent
#EB423D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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