#9A2DAD#9A2DAD

#9A2DAD is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.206 H 321.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9A2DAD
RGBrgb(154, 45, 173)
HSLhsl(291, 59%, 43%)
HSVhsv(291, 74%, 68%)
CMYKcmyk(11%, 74%, 0%, 32.2%)
CIE-LABlab(40.84, 61.09, -46.01)
CIE-LCHlch(40.84, 76.48, 323.02°)
OKLaboklab(51.69% 0.1604 -0.1288)
OKLCHoklch(51.69% 0.206 321.2)
XYZxyz(21.8068, 11.7651, 40.6493)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DAD #40AD2D
analogous
#5A2DAD #9A2DAD #AD2D80
triadic
#9A2DAD #AD9A2D #2DAD9A
tetradic
#9A2DAD #AD5A2D #40AD2D #2D80AD
square
#9A2DAD #AD5A2D #40AD2D #2D80AD
split-complementary
#9A2DAD #80AD2D #2DAD5A
monochromatic
#44144C #6F207C #9A2DAD #BB48CF #CD78DC

Accessibility & contrast

On white

6.26
#9A2DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9A2DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DAD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DAD#FFFFFF#000000##FFFFFF
##9A2DAD1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#3D64AA
Tritanopia (blue-blind)
#9B466B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2dad;
/* rgb */ color: rgb(154, 45, 173);
/* oklch */ color: oklch(51.7% 0.206 321.2);
Tailwind
colors: {
  custom: {
    50: '#bc71c6',
    500: '#9a2dad',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dad;
$custom-light: #bc71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dad",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 291.094,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.20568,
    "h": 321.2
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#9A2DAD
secondary
#7EC472
accent
#E2465D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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