#9A2DC2#9A2DC2

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

Color values

HEX#9A2DC2
RGBrgb(154, 45, 194)
HSLhsl(284, 62%, 47%)
HSVhsv(284, 77%, 76%)
CMYKcmyk(20.6%, 76.8%, 0%, 23.9%)
CIE-LABlab(42.22, 65.09, -56.16)
CIE-LCHlch(42.22, 85.96, 319.21°)
OKLaboklab(53.1% 0.1579 -0.1585)
OKLCHoklch(53.1% 0.224 314.9)
XYZxyz(24.0008, 12.6427, 52.2045)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DC2 #55C22D
analogous
#502DC2 #9A2DC2 #C22D9F
triadic
#9A2DC2 #C29A2D #2DC29A
tetradic
#9A2DC2 #C2502D #55C22D #2D9FC2
square
#9A2DC2 #C2502D #55C22D #2D9FC2
split-complementary
#9A2DC2 #9FC22D #2DC250
monochromatic
#4B165F #732190 #9A2DC2 #B455D7 #CA86E3

Accessibility & contrast

On white

5.95
#9A2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9A2DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DC2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DC2#FFFFFF#000000##FFFFFF
##9A2DC21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#974F77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2dc2;
/* rgb */ color: rgb(154, 45, 194);
/* oklch */ color: oklch(53.1% 0.224 314.9);
Tailwind
colors: {
  custom: {
    50: '#bc72d5',
    500: '#9a2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dc2;
$custom-light: #bc72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dc2",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 283.893,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.22371,
    "h": 314.9
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#9A2DC2
secondary
#93CD7E
accent
#E5426E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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