#9A2AC2#9A2AC2

#9A2AC2 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.9% C 0.227 H 315.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9A2AC2
RGBrgb(154, 42, 194)
HSLhsl(284, 64%, 46%)
HSVhsv(284, 78%, 76%)
CMYKcmyk(20.6%, 78.4%, 0%, 23.9%)
CIE-LABlab(41.88, 66.07, -56.71)
CIE-LCHlch(41.88, 87.07, 319.36°)
OKLaboklab(52.86% 0.1603 -0.1601)
OKLCHoklch(52.86% 0.227 315)
XYZxyz(23.8904, 12.4219, 52.1677)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AC2 #52C22A
analogous
#4E2AC2 #9A2AC2 #C22A9E
triadic
#9A2AC2 #C29A2A #2AC29A
tetradic
#9A2AC2 #C24E2A #52C22A #2A9EC2
square
#9A2AC2 #C24E2A #52C22A #2A9EC2
split-complementary
#9A2AC2 #9EC22A #2AC24E
monochromatic
#4A145D #721F90 #9A2AC2 #B550D9 #CA82E4

Accessibility & contrast

On white

6.03
#9A2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2AC2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AC2#FFFFFF#000000##FFFFFF
##9A2AC21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#974E76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2ac2;
/* rgb */ color: rgb(154, 42, 194);
/* oklch */ color: oklch(52.9% 0.227 315.0);
Tailwind
colors: {
  custom: {
    50: '#bc71d5',
    500: '#9a2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ac2;
$custom-light: #bc71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ac2",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 284.211,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.22659,
    "h": 315
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#9A2AC2
secondary
#90CD7B
accent
#E7406C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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