#9A2ABD#9A2ABD

#9A2ABD is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.222 H 316.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9A2ABD
RGBrgb(154, 42, 189)
HSLhsl(286, 64%, 45%)
HSVhsv(286, 78%, 74%)
CMYKcmyk(18.5%, 77.8%, 0%, 25.9%)
CIE-LABlab(41.53, 65.11, -54.34)
CIE-LCHlch(41.53, 84.80, 320.15°)
OKLaboklab(52.51% 0.1611 -0.1532)
OKLCHoklch(52.51% 0.222 316.5)
XYZxyz(23.3383, 12.2010, 49.2599)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2ABD #4DBD2A
analogous
#502ABD #9A2ABD #BD2A97
triadic
#9A2ABD #BD9A2A #2ABD9A
tetradic
#9A2ABD #BD502A #4DBD2A #2A97BD
square
#9A2ABD #BD502A #4DBD2A #2A97BD
split-complementary
#9A2ABD #97BD2A #2ABD50
monochromatic
#481459 #711F8B #9A2ABD #B64DD7 #CB7FE3

Accessibility & contrast

On white

6.10
#9A2ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9A2ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2ABD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2ABD#FFFFFF#000000##FFFFFF
##9A2ABD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#984C73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2abd;
/* rgb */ color: rgb(154, 42, 189);
/* oklch */ color: oklch(52.5% 0.222 316.5);
Tailwind
colors: {
  custom: {
    50: '#bc71d2',
    500: '#9a2abd',
    950: '#000000',
  },
}
SCSS
$custom: #9a2abd;
$custom-light: #bc71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2abd",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 285.714,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.22233,
    "h": 316.5
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#9A2ABD
secondary
#8CCB78
accent
#E74169
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9A2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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