#9A2EB4#9A2EB4

#9A2EB4 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.211 H 319.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9A2EB4
RGBrgb(154, 46, 180)
HSLhsl(288, 59%, 44%)
HSVhsv(288, 74%, 71%)
CMYKcmyk(14.4%, 74.4%, 0%, 29.4%)
CIE-LABlab(41.41, 62.05, -49.25)
CIE-LCHlch(41.41, 79.21, 321.56°)
OKLaboklab(52.23% 0.1588 -0.1383)
OKLCHoklch(52.23% 0.211 319)
XYZxyz(22.5405, 12.1204, 44.3233)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EB4 #48B42E
analogous
#572EB4 #9A2EB4 #B42E8B
triadic
#9A2EB4 #B49A2E #2EB49A
tetradic
#9A2EB4 #B4572E #48B42E #2E8BB4
square
#9A2EB4 #B4572E #48B42E #2E8BB4
split-complementary
#9A2EB4 #8BB42E #2EB457
monochromatic
#471553 #702283 #9A2EB4 #B84ED2 #CC7EDE

Accessibility & contrast

On white

6.13
#9A2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9A2EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EB4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EB4#FFFFFF#000000##FFFFFF
##9A2EB41.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#9A496F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2eb4;
/* rgb */ color: rgb(154, 46, 180);
/* oklch */ color: oklch(52.2% 0.211 319.0);
Tailwind
colors: {
  custom: {
    50: '#bc72cb',
    500: '#9a2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #9a2eb4;
$custom-light: #bc72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2eb4",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 288.358,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.21058,
    "h": 319
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#9A2EB4
secondary
#86C777
accent
#E24564
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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