#9A1E97#9A1E97

#9A1E97 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.203 H 329.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9A1E97
RGBrgb(154, 30, 151)
HSLhsl(301, 67%, 36%)
HSVhsv(301, 81%, 60%)
CMYKcmyk(0%, 80.5%, 1.9%, 39.6%)
CIE-LABlab(37.90, 61.93, -37.48)
CIE-LCHlch(37.90, 72.38, 328.82°)
OKLaboklab(49.17% 0.1744 -0.1038)
OKLCHoklch(49.17% 0.203 329.2)
XYZxyz(19.3765, 10.0345, 30.1885)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E97 #1E9A21
analogous
#5F1E9A #9A1E97 #9A1E59
triadic
#9A1E97 #979A1E #1E979A
tetradic
#9A1E97 #9A5F1E #1E9A21 #1E599A
square
#9A1E97 #9A5F1E #1E9A21 #1E599A
split-complementary
#9A1E97 #599A1E #1E9A5F
monochromatic
#340A33 #671465 #9A1E97 #CD28C9 #DE55DA

Accessibility & contrast

On white

6.98
#9A1E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A1E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1E97
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E97#FFFFFF#000000##FFFFFF
##9A1E971.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#A0325B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a1e97;
/* rgb */ color: rgb(154, 30, 151);
/* oklch */ color: oklch(49.2% 0.203 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6bb6',
    500: '#9a1e97',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e97;
$custom-light: #bc6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e97",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 301.452,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.20291,
    "h": 329.2
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#9A1E97
secondary
#53C155
accent
#EA423E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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