#9A1E99#9A1E99

#9A1E99 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.204 H 328.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9A1E99
RGBrgb(154, 30, 153)
HSLhsl(300, 67%, 36%)
HSVhsv(300, 81%, 60%)
CMYKcmyk(0%, 80.5%, 0.6%, 39.6%)
CIE-LABlab(38.02, 62.25, -38.50)
CIE-LCHlch(38.02, 73.19, 328.26°)
OKLaboklab(49.29% 0.1743 -0.1068)
OKLCHoklch(49.29% 0.204 328.5)
XYZxyz(19.5403, 10.1000, 31.0511)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E99 #1E9A1F
analogous
#5D1E9A #9A1E99 #9A1E5B
triadic
#9A1E99 #999A1E #1E999A
tetradic
#9A1E99 #9A5D1E #1E9A1F #1E5B9A
square
#9A1E99 #9A5D1E #1E9A1F #1E5B9A
split-complementary
#9A1E99 #5B9A1E #1E9A5D
monochromatic
#340A33 #671466 #9A1E99 #CD28CC #DE55DD

Accessibility & contrast

On white

6.95
#9A1E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9A1E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1E99
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E99#FFFFFF#000000##FFFFFF
##9A1E991.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1e99;
/* rgb */ color: rgb(154, 30, 153);
/* oklch */ color: oklch(49.3% 0.204 328.5);
Tailwind
colors: {
  custom: {
    50: '#bc6bb7',
    500: '#9a1e99',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e99;
$custom-light: #bc6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e99",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 300.484,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.20441,
    "h": 328.5
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#9A1E99
secondary
#53C154
accent
#EA3F3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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