#9A2C8E#9A2C8E

#9A2C8E is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.182 H 332.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9A2C8E
RGBrgb(154, 44, 142)
HSLhsl(307, 56%, 39%)
HSVhsv(307, 71%, 60%)
CMYKcmyk(0%, 71.4%, 7.8%, 39.6%)
CIE-LABlab(38.94, 56.09, -30.35)
CIE-LCHlch(38.94, 63.77, 331.59°)
OKLaboklab(49.76% 0.1615 -0.0832)
OKLCHoklch(49.76% 0.182 332.7)
XYZxyz(19.1097, 10.6259, 26.6305)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2C8E #2C9A38
analogous
#6F2C9A #9A2C8E #9A2C57
triadic
#9A2C8E #8E9A2C #2C8E9A
tetradic
#9A2C8E #9A6F2C #2C9A38 #2C579A
square
#9A2C8E #9A6F2C #2C9A38 #2C579A
split-complementary
#9A2C8E #579A2C #2C9A6F
monochromatic
#3B1136 #6A1E62 #9A2C8E #C73CB8 #D56CC9

Accessibility & contrast

On white

6.72
#9A2C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9A2C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2C8E
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2C8E#FFFFFF#000000##FFFFFF
##9A2C8E1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#A1375A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a2c8e;
/* rgb */ color: rgb(154, 44, 142);
/* oklch */ color: oklch(49.8% 0.182 332.7);
Tailwind
colors: {
  custom: {
    50: '#bb70af',
    500: '#9a2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9a2c8e;
$custom-light: #bb70af;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2c8e",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 306.545,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49756,
    "c": 0.18169,
    "h": 332.7
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#9A2C8E
secondary
#66BC6F
accent
#DF5949
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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