#9A2DC1#9A2DC1

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

Color values

HEX#9A2DC1
RGBrgb(154, 45, 193)
HSLhsl(284, 62%, 47%)
HSVhsv(284, 77%, 76%)
CMYKcmyk(20.2%, 76.7%, 0%, 24.3%)
CIE-LABlab(42.15, 64.89, -55.68)
CIE-LCHlch(42.15, 85.51, 319.37°)
OKLaboklab(53.03% 0.158 -0.1571)
OKLCHoklch(53.03% 0.223 315.2)
XYZxyz(23.8889, 12.5979, 51.6150)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DC1 #54C12D
analogous
#502DC1 #9A2DC1 #C12D9E
triadic
#9A2DC1 #C19A2D #2DC19A
tetradic
#9A2DC1 #C1502D #54C12D #2D9EC1
square
#9A2DC1 #C1502D #54C12D #2D9EC1
split-complementary
#9A2DC1 #9EC12D #2DC150
monochromatic
#4B165E #72218F #9A2DC1 #B554D7 #CA86E3

Accessibility & contrast

On white

5.97
#9A2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9A2DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DC1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DC1#FFFFFF#000000##FFFFFF
##9A2DC11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#2666BE
Tritanopia (blue-blind)
#974F76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2dc1;
/* rgb */ color: rgb(154, 45, 193);
/* oklch */ color: oklch(53.0% 0.223 315.2);
Tailwind
colors: {
  custom: {
    50: '#bc72d4',
    500: '#9a2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dc1;
$custom-light: #bc72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dc1",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 284.189,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.22285,
    "h": 315.2
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#9A2DC1
secondary
#92CC7E
accent
#E5436D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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