#9A2AC0#9A2AC0

#9A2AC0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.225 H 315.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9A2AC0
RGBrgb(154, 42, 192)
HSLhsl(285, 64%, 46%)
HSVhsv(285, 78%, 75%)
CMYKcmyk(19.8%, 78.1%, 0%, 24.7%)
CIE-LABlab(41.74, 65.68, -55.76)
CIE-LCHlch(41.74, 86.16, 319.67°)
OKLaboklab(52.72% 0.1607 -0.1573)
OKLCHoklch(52.72% 0.225 315.6)
XYZxyz(23.6673, 12.3327, 50.9927)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AC0 #50C02A
analogous
#4F2AC0 #9A2AC0 #C02A9B
triadic
#9A2AC0 #C09A2A #2AC09A
tetradic
#9A2AC0 #C04F2A #50C02A #2A9BC0
square
#9A2AC0 #C04F2A #50C02A #2A9BC0
split-complementary
#9A2AC0 #9BC02A #2AC04F
monochromatic
#49145C #721F8E #9A2AC0 #B64FD8 #CA81E3

Accessibility & contrast

On white

6.06
#9A2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9A2AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AC0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AC0#FFFFFF#000000##FFFFFF
##9A2AC01.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#974D75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2ac0;
/* rgb */ color: rgb(154, 42, 192);
/* oklch */ color: oklch(52.7% 0.225 315.6);
Tailwind
colors: {
  custom: {
    50: '#bc71d4',
    500: '#9a2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ac0;
$custom-light: #bc71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ac0",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 284.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.22489,
    "h": 315.6
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#9A2AC0
secondary
#8FCC7A
accent
#E7416B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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