#9A2DAC#9A2DAC

#9A2DAC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 321.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9A2DAC
RGBrgb(154, 45, 172)
HSLhsl(291, 59%, 43%)
HSVhsv(291, 74%, 67%)
CMYKcmyk(10.5%, 73.8%, 0%, 32.5%)
CIE-LABlab(40.78, 60.91, -45.52)
CIE-LCHlch(40.78, 76.04, 323.23°)
OKLaboklab(51.62% 0.1605 -0.1273)
OKLCHoklch(51.62% 0.205 321.6)
XYZxyz(21.7104, 11.7266, 40.1416)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DAC #3FAC2D
analogous
#5A2DAC #9A2DAC #AC2D7E
triadic
#9A2DAC #AC9A2D #2DAC9A
tetradic
#9A2DAC #AC5A2D #3FAC2D #2D7EAC
square
#9A2DAC #AC5A2D #3FAC2D #2D7EAC
split-complementary
#9A2DAC #7EAC2D #2DAC5A
monochromatic
#43144B #6F207B #9A2DAC #BC47CF #CD78DC

Accessibility & contrast

On white

6.28
#9A2DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9A2DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DAC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DAC#FFFFFF#000000##FFFFFF
##9A2DAC1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3D64A9
Tritanopia (blue-blind)
#9B456A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2dac;
/* rgb */ color: rgb(154, 45, 172);
/* oklch */ color: oklch(51.6% 0.205 321.6);
Tailwind
colors: {
  custom: {
    50: '#bc71c5',
    500: '#9a2dac',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dac;
$custom-light: #bc71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dac",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 291.496,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.20483,
    "h": 321.6
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#9A2DAC
secondary
#7DC471
accent
#E2465C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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