#9A2AC1#9A2AC1

#9A2AC1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.226 H 315.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9A2AC1
RGBrgb(154, 42, 193)
HSLhsl(285, 64%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(20.2%, 78.2%, 0%, 24.3%)
CIE-LABlab(41.81, 65.88, -56.24)
CIE-LCHlch(41.81, 86.61, 319.51°)
OKLaboklab(52.79% 0.1605 -0.1587)
OKLCHoklch(52.79% 0.226 315.3)
XYZxyz(23.7785, 12.3771, 51.5782)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AC1 #51C12A
analogous
#4E2AC1 #9A2AC1 #C12A9C
triadic
#9A2AC1 #C19A2A #2AC19A
tetradic
#9A2AC1 #C14E2A #51C12A #2A9CC1
square
#9A2AC1 #C14E2A #51C12A #2A9CC1
split-complementary
#9A2AC1 #9CC12A #2AC14E
monochromatic
#4A145C #721F8F #9A2AC1 #B54FD9 #CA82E4

Accessibility & contrast

On white

6.04
#9A2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9A2AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AC1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AC1#FFFFFF#000000##FFFFFF
##9A2AC11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#2365BE
Tritanopia (blue-blind)
#974D76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2ac1;
/* rgb */ color: rgb(154, 42, 193);
/* oklch */ color: oklch(52.8% 0.226 315.3);
Tailwind
colors: {
  custom: {
    50: '#bc71d5',
    500: '#9a2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ac1;
$custom-light: #bc71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ac1",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 284.503,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.22574,
    "h": 315.3
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#9A2AC1
secondary
#8FCD7A
accent
#E7416C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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