#9A2EB5#9A2EB5

#9A2EB5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.211 H 318.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9A2EB5
RGBrgb(154, 46, 181)
HSLhsl(288, 59%, 45%)
HSVhsv(288, 75%, 71%)
CMYKcmyk(14.9%, 74.6%, 0%, 29%)
CIE-LABlab(41.47, 62.24, -49.73)
CIE-LCHlch(41.47, 79.67, 321.37°)
OKLaboklab(52.3% 0.1587 -0.1397)
OKLCHoklch(52.3% 0.211 318.6)
XYZxyz(22.6428, 12.1613, 44.8618)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EB5 #49B52E
analogous
#572EB5 #9A2EB5 #B52E8D
triadic
#9A2EB5 #B59A2E #2EB59A
tetradic
#9A2EB5 #B5572E #49B52E #2E8DB5
square
#9A2EB5 #B5572E #49B52E #2E8DB5
split-complementary
#9A2EB5 #8DB52E #2EB557
monochromatic
#471553 #702284 #9A2EB5 #B84ED2 #CB7FDE

Accessibility & contrast

On white

6.12
#9A2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9A2EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EB5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EB5#FFFFFF#000000##FFFFFF
##9A2EB51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#9A4A70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2eb5;
/* rgb */ color: rgb(154, 46, 181);
/* oklch */ color: oklch(52.3% 0.211 318.6);
Tailwind
colors: {
  custom: {
    50: '#bc72cc',
    500: '#9a2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #9a2eb5;
$custom-light: #bc72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2eb5",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 288,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.21144,
    "h": 318.6
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#9A2EB5
secondary
#88C778
accent
#E34565
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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