#9A2DA3#9A2DA3

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

Color values

HEX#9A2DA3
RGBrgb(154, 45, 163)
HSLhsl(295, 57%, 41%)
HSVhsv(295, 72%, 64%)
CMYKcmyk(5.5%, 72.4%, 0%, 36.1%)
CIE-LABlab(40.23, 59.28, -41.01)
CIE-LCHlch(40.23, 72.09, 325.33°)
OKLaboklab(51.06% 0.1609 -0.1142)
OKLCHoklch(51.06% 0.197 324.6)
XYZxyz(20.8751, 11.3925, 35.7427)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DA3 #36A32D
analogous
#5F2DA3 #9A2DA3 #A32D71
triadic
#9A2DA3 #A39A2D #2DA39A
tetradic
#9A2DA3 #A35F2D #36A32D #2D71A3
square
#9A2DA3 #A35F2D #36A32D #2D71A3
split-complementary
#9A2DA3 #71A32D #2DA35F
monochromatic
#3F1343 #6D2073 #9A2DA3 #C042CB #D072D8

Accessibility & contrast

On white

6.41
#9A2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9A2DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DA3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DA3#FFFFFF#000000##FFFFFF
##9A2DA31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0656A6
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#9D4165
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2da3;
/* rgb */ color: rgb(154, 45, 163);
/* oklch */ color: oklch(51.1% 0.197 324.6);
Tailwind
colors: {
  custom: {
    50: '#bb71bf',
    500: '#9a2da3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2da3;
$custom-light: #bb71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2da3",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 295.424,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.1973,
    "h": 324.6
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#9A2DA3
secondary
#73C06C
accent
#E04853
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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