#9A1E8A#9A1E8A

#9A1E8A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.193 H 334.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9A1E8A
RGBrgb(154, 30, 138)
HSLhsl(308, 67%, 36%)
HSVhsv(308, 81%, 60%)
CMYKcmyk(0%, 80.5%, 10.4%, 39.6%)
CIE-LABlab(37.18, 59.91, -30.67)
CIE-LCHlch(37.18, 67.30, 332.89°)
OKLaboklab(48.42% 0.1743 -0.0841)
OKLCHoklch(48.42% 0.193 334.2)
XYZxyz(18.3783, 9.6352, 24.9317)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E8A #1E9A2E
analogous
#6C1E9A #9A1E8A #9A1E4C
triadic
#9A1E8A #8A9A1E #1E8A9A
tetradic
#9A1E8A #9A6C1E #1E9A2E #1E4C9A
square
#9A1E8A #9A6C1E #1E9A2E #1E4C9A
split-complementary
#9A1E8A #4C9A1E #1E9A6C
monochromatic
#340A2E #67145C #9A1E8A #CD28B8 #DE55CC

Accessibility & contrast

On white

7.18
#9A1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9A1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E8A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E8A#FFFFFF#000000##FFFFFF
##9A1E8A1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#A22B54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1e8a;
/* rgb */ color: rgb(154, 30, 138);
/* oklch */ color: oklch(48.4% 0.193 334.2);
Tailwind
colors: {
  custom: {
    50: '#bc6aac',
    500: '#9a1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e8a;
$custom-light: #bc6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e8a",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 307.742,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.19349,
    "h": 334.2
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#9A1E8A
secondary
#53C161
accent
#EA543E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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