#9A1E8D#9A1E8D

#9A1E8D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.196 H 333.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9A1E8D
RGBrgb(154, 30, 141)
HSLhsl(306, 67%, 36%)
HSVhsv(306, 81%, 60%)
CMYKcmyk(0%, 80.5%, 8.4%, 39.6%)
CIE-LABlab(37.34, 60.36, -32.26)
CIE-LCHlch(37.34, 68.44, 331.88°)
OKLaboklab(48.59% 0.1744 -0.0887)
OKLCHoklch(48.59% 0.196 333)
XYZxyz(18.5985, 9.7233, 26.0914)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E8D #1E9A2B
analogous
#691E9A #9A1E8D #9A1E4F
triadic
#9A1E8D #8D9A1E #1E8D9A
tetradic
#9A1E8D #9A691E #1E9A2B #1E4F9A
square
#9A1E8D #9A691E #1E9A2B #1E4F9A
split-complementary
#9A1E8D #4F9A1E #1E9A69
monochromatic
#340A2F #67145E #9A1E8D #CD28BC #DE55CF

Accessibility & contrast

On white

7.13
#9A1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9A1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E8D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E8D#FFFFFF#000000##FFFFFF
##9A1E8D1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#4A5E8A
Tritanopia (blue-blind)
#A12D55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a1e8d;
/* rgb */ color: rgb(154, 30, 141);
/* oklch */ color: oklch(48.6% 0.196 333.0);
Tailwind
colors: {
  custom: {
    50: '#bc6aaf',
    500: '#9a1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e8d;
$custom-light: #bc6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e8d",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 306.29,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.19562,
    "h": 333
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#9A1E8D
secondary
#53C15E
accent
#EA503E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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