#9A2DA4#9A2DA4

#9A2DA4 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 324.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9A2DA4
RGBrgb(154, 45, 164)
HSLhsl(295, 57%, 41%)
HSVhsv(295, 73%, 64%)
CMYKcmyk(6.1%, 72.6%, 0%, 35.7%)
CIE-LABlab(40.29, 59.46, -41.52)
CIE-LCHlch(40.29, 72.52, 325.08°)
OKLaboklab(51.12% 0.1609 -0.1156)
OKLCHoklch(51.12% 0.198 324.3)
XYZxyz(20.9651, 11.4284, 36.2164)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DA4 #37A42D
analogous
#5E2DA4 #9A2DA4 #A42D72
triadic
#9A2DA4 #A49A2D #2DA49A
tetradic
#9A2DA4 #A45E2D #37A42D #2D72A4
square
#9A2DA4 #A45E2D #37A42D #2D72A4
split-complementary
#9A2DA4 #72A42D #2DA45E
monochromatic
#401344 #6D2074 #9A2DA4 #C043CB #D073D9

Accessibility & contrast

On white

6.39
#9A2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9A2DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DA4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DA4#FFFFFF#000000##FFFFFF
##9A2DA41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0357A7
Deuteranopia (green-blind)
#4363A1
Tritanopia (blue-blind)
#9D4266
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2da4;
/* rgb */ color: rgb(154, 45, 164);
/* oklch */ color: oklch(51.1% 0.198 324.3);
Tailwind
colors: {
  custom: {
    50: '#bb71bf',
    500: '#9a2da4',
    950: '#000000',
  },
}
SCSS
$custom: #9a2da4;
$custom-light: #bb71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2da4",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 294.958,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5112,
    "c": 0.19813,
    "h": 324.3
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#9A2DA4
secondary
#74C06D
accent
#E04854
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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