#9A1D95#9A1D95

#9A1D95 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.202 H 330.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9A1D95
RGBrgb(154, 29, 149)
HSLhsl(302, 68%, 36%)
HSVhsv(302, 81%, 60%)
CMYKcmyk(0%, 81.2%, 3.2%, 39.6%)
CIE-LABlab(37.70, 61.87, -36.58)
CIE-LCHlch(37.70, 71.87, 329.40°)
OKLaboklab(48.99% 0.1752 -0.1012)
OKLCHoklch(48.99% 0.202 330)
XYZxyz(19.1905, 9.9202, 29.3320)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D95 #1D9A22
analogous
#601D9A #9A1D95 #9A1D56
triadic
#9A1D95 #959A1D #1D959A
tetradic
#9A1D95 #9A601D #1D9A22 #1D569A
square
#9A1D95 #9A601D #1D9A22 #1D569A
split-complementary
#9A1D95 #569A1D #1D9A60
monochromatic
#330A31 #661363 #9A1D95 #CE27C7 #DF53D9

Accessibility & contrast

On white

7.04
#9A1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9A1D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D95
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D95#FFFFFF#000000##FFFFFF
##9A1D951.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024E98
Deuteranopia (green-blind)
#465E92
Tritanopia (blue-blind)
#A0315A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a1d95;
/* rgb */ color: rgb(154, 29, 149);
/* oklch */ color: oklch(49.0% 0.202 330.0);
Tailwind
colors: {
  custom: {
    50: '#bc6ab4',
    500: '#9a1d95',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d95;
$custom-light: #bc6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d95",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 302.4,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48988,
    "c": 0.20229,
    "h": 330
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

primary
#9A1D95
secondary
#51C256
accent
#EB443D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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