#9A2EA4#9A2EA4

#9A2EA4 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.197 H 324.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9A2EA4
RGBrgb(154, 46, 164)
HSLhsl(295, 56%, 41%)
HSVhsv(295, 72%, 64%)
CMYKcmyk(6.1%, 72%, 0%, 35.7%)
CIE-LABlab(40.42, 59.10, -41.31)
CIE-LCHlch(40.42, 72.11, 325.05°)
OKLaboklab(51.21% 0.1599 -0.1151)
OKLCHoklch(51.21% 0.197 324.3)
XYZxyz(21.0037, 11.5056, 36.2293)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EA4 #38A42E
analogous
#5F2EA4 #9A2EA4 #A42E73
triadic
#9A2EA4 #A49A2E #2EA49A
tetradic
#9A2EA4 #A45F2E #38A42E #2E73A4
square
#9A2EA4 #A45F2E #38A42E #2E73A4
split-complementary
#9A2EA4 #73A42E #2EA45F
monochromatic
#401344 #6D2174 #9A2EA4 #BF45CB #D074D8

Accessibility & contrast

On white

6.36
#9A2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9A2EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EA4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EA4#FFFFFF#000000##FFFFFF
##9A2EA41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A7
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#9D4266
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ea4;
/* rgb */ color: rgb(154, 46, 164);
/* oklch */ color: oklch(51.2% 0.197 324.3);
Tailwind
colors: {
  custom: {
    50: '#bb71bf',
    500: '#9a2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ea4;
$custom-light: #bb71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ea4",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 294.915,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.19699,
    "h": 324.3
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#9A2EA4
secondary
#75C06E
accent
#DF4855
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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