#9A2EA9#9A2EA9

#9A2EA9 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.201 H 322.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9A2EA9
RGBrgb(154, 46, 169)
HSLhsl(293, 57%, 42%)
HSVhsv(293, 73%, 66%)
CMYKcmyk(8.9%, 72.8%, 0%, 33.7%)
CIE-LABlab(40.72, 60.00, -43.82)
CIE-LCHlch(40.72, 74.30, 323.86°)
OKLaboklab(51.52% 0.1597 -0.1224)
OKLCHoklch(51.52% 0.201 322.5)
XYZxyz(21.4641, 11.6898, 38.6542)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EA9 #3DA92E
analogous
#5D2EA9 #9A2EA9 #A92E7B
triadic
#9A2EA9 #A99A2E #2EA99A
tetradic
#9A2EA9 #A95D2E #3DA92E #2E7BA9
square
#9A2EA9 #A95D2E #3DA92E #2E7BA9
split-complementary
#9A2EA9 #7BA92E #2EA95D
monochromatic
#421449 #6E2179 #9A2EA9 #BD47CD #CE77DA

Accessibility & contrast

On white

6.29
#9A2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9A2EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EA9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EA9#FFFFFF#000000##FFFFFF
##9A2EA91.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#9C4469
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2ea9;
/* rgb */ color: rgb(154, 46, 169);
/* oklch */ color: oklch(51.5% 0.201 322.5);
Tailwind
colors: {
  custom: {
    50: '#bb72c3',
    500: '#9a2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ea9;
$custom-light: #bb72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ea9",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 292.683,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.20119,
    "h": 322.5
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#9A2EA9
secondary
#7BC271
accent
#E0475A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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