#9A2EAA#9A2EAA

#9A2EAA is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.202 H 322.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9A2EAA
RGBrgb(154, 46, 170)
HSLhsl(292, 57%, 42%)
HSVhsv(292, 73%, 67%)
CMYKcmyk(9.4%, 72.9%, 0%, 33.3%)
CIE-LABlab(40.78, 60.19, -44.32)
CIE-LCHlch(40.78, 74.75, 323.63°)
OKLaboklab(51.58% 0.1596 -0.1238)
OKLCHoklch(51.58% 0.202 322.2)
XYZxyz(21.5584, 11.7275, 39.1505)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EAA #3EAA2E
analogous
#5C2EAA #9A2EAA #AA2E7C
triadic
#9A2EAA #AA9A2E #2EAA9A
tetradic
#9A2EAA #AA5C2E #3EAA2E #2E7CAA
square
#9A2EAA #AA5C2E #3EAA2E #2E7CAA
split-complementary
#9A2EAA #7CAA2E #2EAA5C
monochromatic
#43144A #6E217A #9A2EAA #BC48CD #CE78DA

Accessibility & contrast

On white

6.28
#9A2EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9A2EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EAA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EAA#FFFFFF#000000##FFFFFF
##9A2EAA1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#4064A7
Tritanopia (blue-blind)
#9C4569
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2eaa;
/* rgb */ color: rgb(154, 46, 170);
/* oklch */ color: oklch(51.6% 0.202 322.2);
Tailwind
colors: {
  custom: {
    50: '#bb72c4',
    500: '#9a2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9a2eaa;
$custom-light: #bb72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2eaa",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 292.258,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.20203,
    "h": 322.2
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#9A2EAA
secondary
#7CC371
accent
#E1475B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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