#9A2E8A#9A2E8A

#9A2E8A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.7% C 0.176 H 334.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9A2E8A
RGBrgb(154, 46, 138)
HSLhsl(309, 54%, 39%)
HSVhsv(309, 70%, 60%)
CMYKcmyk(0%, 70.1%, 10.4%, 39.6%)
CIE-LABlab(39.00, 54.71, -27.80)
CIE-LCHlch(39.00, 61.37, 333.06°)
OKLaboklab(49.73% 0.159 -0.076)
OKLCHoklch(49.73% 0.176 334.5)
XYZxyz(18.8910, 10.6606, 25.1026)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E8A #2E9A3E
analogous
#742E9A #9A2E8A #9A2E54
triadic
#9A2E8A #8A9A2E #2E8A9A
tetradic
#9A2E8A #9A742E #2E9A3E #2E549A
square
#9A2E8A #9A742E #2E9A3E #2E549A
split-complementary
#9A2E8A #549A2E #2E9A74
monochromatic
#3C1236 #6B2060 #9A2E8A #C63FB2 #D46FC5

Accessibility & contrast

On white

6.71
#9A2E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9A2E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E8A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E8A#FFFFFF#000000##FFFFFF
##9A2E8A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#526287
Tritanopia (blue-blind)
#A13758
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a2e8a;
/* rgb */ color: rgb(154, 46, 138);
/* oklch */ color: oklch(49.7% 0.176 334.5);
Tailwind
colors: {
  custom: {
    50: '#bb70ac',
    500: '#9a2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e8a;
$custom-light: #bb70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e8a",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 308.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.17618,
    "h": 334.5
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#9A2E8A
secondary
#69BB75
accent
#DD604A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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