#9A2EAB#9A2EAB

#9A2EAB is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.6% C 0.203 H 321.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9A2EAB
RGBrgb(154, 46, 171)
HSLhsl(292, 58%, 43%)
HSVhsv(292, 73%, 67%)
CMYKcmyk(9.9%, 73.1%, 0%, 32.9%)
CIE-LABlab(40.84, 60.37, -44.82)
CIE-LCHlch(40.84, 75.19, 323.41°)
OKLaboklab(51.65% 0.1596 -0.1253)
OKLCHoklch(51.65% 0.203 321.9)
XYZxyz(21.6533, 11.7655, 39.6506)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EAB #3FAB2E
analogous
#5B2EAB #9A2EAB #AB2E7E
triadic
#9A2EAB #AB9A2E #2EAB9A
tetradic
#9A2EAB #AB5B2E #3FAB2E #2E7EAB
square
#9A2EAB #AB5B2E #3FAB2E #2E7EAB
split-complementary
#9A2EAB #7EAB2E #2EAB5B
monochromatic
#43144B #6F217B #9A2EAB #BC48CE #CD79DB

Accessibility & contrast

On white

6.26
#9A2EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2EAB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EAB#FFFFFF#000000##FFFFFF
##9A2EAB1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3F64A8
Tritanopia (blue-blind)
#9C456A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2eab;
/* rgb */ color: rgb(154, 46, 171);
/* oklch */ color: oklch(51.6% 0.203 321.9);
Tailwind
colors: {
  custom: {
    50: '#bb72c5',
    500: '#9a2eab',
    950: '#000000',
  },
}
SCSS
$custom: #9a2eab;
$custom-light: #bb72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2eab",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 291.84,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51647,
    "c": 0.20288,
    "h": 321.9
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#9A2EAB
secondary
#7DC372
accent
#E1475C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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