#9A2AAC#9A2AAC

#9A2AAC is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.208 H 321.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9A2AAC
RGBrgb(154, 42, 172)
HSLhsl(292, 61%, 42%)
HSVhsv(292, 76%, 67%)
CMYKcmyk(10.5%, 75.6%, 0%, 32.5%)
CIE-LABlab(40.42, 61.94, -46.09)
CIE-LCHlch(40.42, 77.20, 323.35°)
OKLaboklab(51.37% 0.1632 -0.129)
OKLCHoklch(51.37% 0.208 321.7)
XYZxyz(21.6000, 11.5057, 40.1048)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AAC #3CAC2A
analogous
#592AAC #9A2AAC #AC2A7D
triadic
#9A2AAC #AC9A2A #2AAC9A
tetradic
#9A2AAC #AC592A #3CAC2A #2A7DAC
square
#9A2AAC #AC592A #3CAC2A #2A7DAC
split-complementary
#9A2AAC #7DAC2A #2AAC59
monochromatic
#42124A #6E1E7B #9A2AAC #BD42D1 #CE73DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2AAC#FFFFFF#000000##FFFFFF
##9A2AAC1.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)
#0057B0
Deuteranopia (green-blind)
#3C63A9
Tritanopia (blue-blind)
#9C446A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2aac;
/* rgb */ color: rgb(154, 42, 172);
/* oklch */ color: oklch(51.4% 0.208 321.7);
Tailwind
colors: {
  custom: {
    50: '#bc70c5',
    500: '#9a2aac',
    950: '#000000',
  },
}
SCSS
$custom: #9a2aac;
$custom-light: #bc70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2aac",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 291.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.20803,
    "h": 321.7
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#9A2AAC
secondary
#7AC46D
accent
#E4445A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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