#9A1EA1#9A1EA1

#9A1EA1 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.210 H 325.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9A1EA1
RGBrgb(154, 30, 161)
HSLhsl(297, 69%, 37%)
HSVhsv(297, 81%, 63%)
CMYKcmyk(4.3%, 81.4%, 0%, 36.9%)
CIE-LABlab(38.50, 63.57, -42.57)
CIE-LCHlch(38.50, 76.50, 326.19°)
OKLaboklab(49.79% 0.1738 -0.1186)
OKLCHoklch(49.79% 0.21 325.7)
XYZxyz(20.2233, 10.3732, 34.6484)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1EA1 #25A11E
analogous
#591EA1 #9A1EA1 #A11E66
triadic
#9A1EA1 #A19A1E #1EA19A
tetradic
#9A1EA1 #A1591E #25A11E #1E66A1
square
#9A1EA1 #A1591E #25A11E #1E66A1
split-complementary
#9A1EA1 #66A11E #1EA159
monochromatic
#370B3A #69146D #9A1EA1 #CB28D5 #D959E0

Accessibility & contrast

On white

6.83
#9A1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9A1EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1EA1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1EA1#FFFFFF#000000##FFFFFF
##9A1EA11.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#3E609E
Tritanopia (blue-blind)
#9E3861
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a1ea1;
/* rgb */ color: rgb(154, 30, 161);
/* oklch */ color: oklch(49.8% 0.210 325.7);
Tailwind
colors: {
  custom: {
    50: '#bc6bbd',
    500: '#9a1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #9a1ea1;
$custom-light: #bc6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1ea1",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 296.794,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.21044,
    "h": 325.7
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#9A1EA1
secondary
#5DC457
accent
#EB3C46
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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