#9A2CC2#9A2CC2

#9A2CC2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.225 H 314.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9A2CC2
RGBrgb(154, 44, 194)
HSLhsl(284, 63%, 47%)
HSVhsv(284, 77%, 76%)
CMYKcmyk(20.6%, 77.3%, 0%, 23.9%)
CIE-LABlab(42.10, 65.42, -56.34)
CIE-LCHlch(42.10, 86.34, 319.26°)
OKLaboklab(53.02% 0.1587 -0.1591)
OKLCHoklch(53.02% 0.225 314.9)
XYZxyz(23.9631, 12.5673, 52.1919)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CC2 #54C22C
analogous
#4F2CC2 #9A2CC2 #C22C9F
triadic
#9A2CC2 #C29A2C #2CC29A
tetradic
#9A2CC2 #C24F2C #54C22C #2C9FC2
square
#9A2CC2 #C24F2C #54C22C #2C9FC2
split-complementary
#9A2CC2 #9FC22C #2CC24F
monochromatic
#4B155E #722190 #9A2CC2 #B553D8 #CA85E3

Accessibility & contrast

On white

5.98
#9A2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9A2CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CC2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CC2#FFFFFF#000000##FFFFFF
##9A2CC21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2cc2;
/* rgb */ color: rgb(154, 44, 194);
/* oklch */ color: oklch(53.0% 0.225 314.9);
Tailwind
colors: {
  custom: {
    50: '#bc72d5',
    500: '#9a2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cc2;
$custom-light: #bc72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cc2",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 284,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53021,
    "c": 0.2247,
    "h": 314.9
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#9A2CC2
secondary
#92CD7D
accent
#E6426E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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