#9A2E91#9A2E91

#9A2E91 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.182 H 331.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9A2E91
RGBrgb(154, 46, 145)
HSLhsl(305, 54%, 39%)
HSVhsv(305, 70%, 60%)
CMYKcmyk(0%, 70.1%, 5.8%, 39.6%)
CIE-LABlab(39.36, 55.84, -31.52)
CIE-LCHlch(39.36, 64.12, 330.56°)
OKLaboklab(50.11% 0.1596 -0.0866)
OKLCHoklch(50.11% 0.182 331.5)
XYZxyz(19.4142, 10.8699, 27.8581)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E91 #2E9A37
analogous
#6D2E9A #9A2E91 #9A2E5B
triadic
#9A2E91 #919A2E #2E919A
tetradic
#9A2E91 #9A6D2E #2E9A37 #2E5B9A
square
#9A2E91 #9A6D2E #2E9A37 #2E5B9A
split-complementary
#9A2E91 #5B9A2E #2E9A6D
monochromatic
#3C1238 #6B2065 #9A2E91 #C63FBB #D46FCB

Accessibility & contrast

On white

6.62
#9A2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9A2E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E91
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E91#FFFFFF#000000##FFFFFF
##9A2E911.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#4F628E
Tritanopia (blue-blind)
#A03A5C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a2e91;
/* rgb */ color: rgb(154, 46, 145);
/* oklch */ color: oklch(50.1% 0.182 331.5);
Tailwind
colors: {
  custom: {
    50: '#bb71b1',
    500: '#9a2e91',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e91;
$custom-light: #bb71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e91",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 305,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50108,
    "c": 0.18156,
    "h": 331.5
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#9A2E91
secondary
#69BB70
accent
#DD574A
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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