#9A2CB5#9A2CB5

#9A2CB5 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.214 H 318.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9A2CB5
RGBrgb(154, 44, 181)
HSLhsl(288, 61%, 44%)
HSVhsv(288, 76%, 71%)
CMYKcmyk(14.9%, 75.7%, 0%, 29%)
CIE-LABlab(41.23, 62.93, -50.12)
CIE-LCHlch(41.23, 80.45, 321.46°)
OKLaboklab(52.13% 0.1605 -0.1408)
OKLCHoklch(52.13% 0.214 318.7)
XYZxyz(22.5665, 12.0087, 44.8363)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CB5 #47B52C
analogous
#562CB5 #9A2CB5 #B52C8C
triadic
#9A2CB5 #B59A2C #2CB59A
tetradic
#9A2CB5 #B5562C #47B52C #2C8CB5
square
#9A2CB5 #B5562C #47B52C #2C8CB5
split-complementary
#9A2CB5 #8CB52C #2CB556
monochromatic
#461453 #702084 #9A2CB5 #B84BD3 #CC7CDF

Accessibility & contrast

On white

6.17
#9A2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9A2CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CB5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CB5#FFFFFF#000000##FFFFFF
##9A2CB51.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#9A496F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2cb5;
/* rgb */ color: rgb(154, 44, 181);
/* oklch */ color: oklch(52.1% 0.214 318.7);
Tailwind
colors: {
  custom: {
    50: '#bc71cc',
    500: '#9a2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cb5;
$custom-light: #bc71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cb5",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 288.175,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.21354,
    "h": 318.7
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#9A2CB5
secondary
#85C875
accent
#E44463
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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