#9A1E91#9A1E91

#9A1E91 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.199 H 331.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9A1E91
RGBrgb(154, 30, 145)
HSLhsl(304, 67%, 36%)
HSVhsv(304, 81%, 60%)
CMYKcmyk(0%, 80.5%, 5.8%, 39.6%)
CIE-LABlab(37.56, 60.98, -34.36)
CIE-LCHlch(37.56, 69.99, 330.60°)
OKLaboklab(48.82% 0.1744 -0.0947)
OKLCHoklch(48.82% 0.199 331.5)
XYZxyz(18.9016, 9.8445, 27.6873)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E91 #1E9A27
analogous
#651E9A #9A1E91 #9A1E53
triadic
#9A1E91 #919A1E #1E919A
tetradic
#9A1E91 #9A651E #1E9A27 #1E539A
square
#9A1E91 #9A651E #1E9A27 #1E539A
split-complementary
#9A1E91 #539A1E #1E9A65
monochromatic
#340A31 #671461 #9A1E91 #CD28C1 #DE55D4

Accessibility & contrast

On white

7.07
#9A1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9A1E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E91
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E91#FFFFFF#000000##FFFFFF
##9A1E911.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E94
Deuteranopia (green-blind)
#485E8E
Tritanopia (blue-blind)
#A12F58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a1e91;
/* rgb */ color: rgb(154, 30, 145);
/* oklch */ color: oklch(48.8% 0.199 331.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ab2',
    500: '#9a1e91',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e91;
$custom-light: #bc6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e91",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 304.355,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.19851,
    "h": 331.5
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#9A1E91
secondary
#53C15B
accent
#EA4A3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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