#9A2D91#9A2D91

#9A2D91 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.183 H 331.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9A2D91
RGBrgb(154, 45, 145)
HSLhsl(305, 55%, 39%)
HSVhsv(305, 71%, 60%)
CMYKcmyk(0%, 70.8%, 5.8%, 39.6%)
CIE-LABlab(39.23, 56.21, -31.73)
CIE-LCHlch(39.23, 64.55, 330.56°)
OKLaboklab(50.01% 0.1606 -0.0872)
OKLCHoklch(50.01% 0.183 331.5)
XYZxyz(19.3756, 10.7927, 27.8453)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D91 #2D9A36
analogous
#6D2D9A #9A2D91 #9A2D5B
triadic
#9A2D91 #919A2D #2D919A
tetradic
#9A2D91 #9A6D2D #2D9A36 #2D5B9A
square
#9A2D91 #9A6D2D #2D9A36 #2D5B9A
split-complementary
#9A2D91 #5B9A2D #2D9A6D
monochromatic
#3B1138 #6B1F64 #9A2D91 #C73EBB #D46DCC

Accessibility & contrast

On white

6.65
#9A2D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9A2D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2D91
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D91#FFFFFF#000000##FFFFFF
##9A2D911.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255394
Deuteranopia (green-blind)
#4E628E
Tritanopia (blue-blind)
#A0395B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a2d91;
/* rgb */ color: rgb(154, 45, 145);
/* oklch */ color: oklch(50.0% 0.183 331.5);
Tailwind
colors: {
  custom: {
    50: '#bb70b1',
    500: '#9a2d91',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d91;
$custom-light: #bb70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d91",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 304.954,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.18279,
    "h": 331.5
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#9A2D91
secondary
#67BB6E
accent
#DE564A
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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