#9A1E87#9A1E87

#9A1E87 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.191 H 335.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9A1E87
RGBrgb(154, 30, 135)
HSLhsl(309, 67%, 36%)
HSVhsv(309, 81%, 60%)
CMYKcmyk(0%, 80.5%, 12.3%, 39.6%)
CIE-LABlab(37.02, 59.46, -29.07)
CIE-LCHlch(37.02, 66.19, 333.95°)
OKLaboklab(48.26% 0.1741 -0.0795)
OKLCHoklch(48.26% 0.191 335.5)
XYZxyz(18.1642, 9.5495, 23.8036)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E87 #1E9A31
analogous
#6F1E9A #9A1E87 #9A1E49
triadic
#9A1E87 #879A1E #1E879A
tetradic
#9A1E87 #9A6F1E #1E9A31 #1E499A
square
#9A1E87 #9A6F1E #1E9A31 #1E499A
split-complementary
#9A1E87 #499A1E #1E9A6F
monochromatic
#340A2D #67145A #9A1E87 #CD28B4 #DE55C9

Accessibility & contrast

On white

7.22
#9A1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9A1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E87
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E87#FFFFFF#000000##FFFFFF
##9A1E871.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#4D5E84
Tritanopia (blue-blind)
#A22952
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1e87;
/* rgb */ color: rgb(154, 30, 135);
/* oklch */ color: oklch(48.3% 0.191 335.5);
Tailwind
colors: {
  custom: {
    50: '#bc6aaa',
    500: '#9a1e87',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e87;
$custom-light: #bc6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e87",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 309.194,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.19139,
    "h": 335.5
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#9A1E87
secondary
#53C164
accent
#EA583E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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