#9A1D9E#9A1D9E

#9A1D9E is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.209 H 326.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9A1D9E
RGBrgb(154, 29, 158)
HSLhsl(298, 69%, 37%)
HSVhsv(298, 82%, 62%)
CMYKcmyk(2.5%, 81.6%, 0%, 38%)
CIE-LABlab(38.23, 63.32, -41.20)
CIE-LCHlch(38.23, 75.54, 326.95°)
OKLaboklab(49.54% 0.1748 -0.1146)
OKLCHoklch(49.54% 0.209 326.7)
XYZxyz(19.9370, 10.2188, 33.2635)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D9E #219E1D
analogous
#5A1D9E #9A1D9E #9E1D61
triadic
#9A1D9E #9E9A1D #1D9E9A
tetradic
#9A1D9E #9E5A1D #219E1D #1D619E
square
#9A1D9E #9E5A1D #219E1D #1D619E
split-complementary
#9A1D9E #619E1D #1D9E5A
monochromatic
#350A37 #68146A #9A1D9E #CC26D2 #DC56E0

Accessibility & contrast

On white

6.90
#9A1D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9A1D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1D9E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D9E#FFFFFF#000000##FFFFFF
##9A1D9E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#9E365F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a1d9e;
/* rgb */ color: rgb(154, 29, 158);
/* oklch */ color: oklch(49.5% 0.209 326.7);
Tailwind
colors: {
  custom: {
    50: '#bc6bbb',
    500: '#9a1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d9e;
$custom-light: #bc6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d9e",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 298.14,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.20898,
    "h": 326.7
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#9A1D9E
secondary
#57C354
accent
#EC3C41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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