#9A2DB3#9A2DB3

#9A2DB3 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.211 H 319.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9A2DB3
RGBrgb(154, 45, 179)
HSLhsl(289, 60%, 44%)
HSVhsv(289, 75%, 70%)
CMYKcmyk(14%, 74.9%, 0%, 29.8%)
CIE-LABlab(41.22, 62.21, -48.96)
CIE-LCHlch(41.22, 79.16, 321.80°)
OKLaboklab(52.08% 0.1599 -0.1374)
OKLCHoklch(52.08% 0.211 319.3)
XYZxyz(22.4004, 12.0026, 43.7759)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DB3 #46B32D
analogous
#572DB3 #9A2DB3 #B32D89
triadic
#9A2DB3 #B39A2D #2DB39A
tetradic
#9A2DB3 #B3572D #46B32D #2D89B3
square
#9A2DB3 #B3572D #46B32D #2D89B3
split-complementary
#9A2DB3 #89B32D #2DB357
monochromatic
#461451 #702182 #9A2DB3 #B94BD2 #CC7CDE

Accessibility & contrast

On white

6.18
#9A2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9A2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DB3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DB3#FFFFFF#000000##FFFFFF
##9A2DB31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#9A486E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2db3;
/* rgb */ color: rgb(154, 45, 179);
/* oklch */ color: oklch(52.1% 0.211 319.3);
Tailwind
colors: {
  custom: {
    50: '#bc72ca',
    500: '#9a2db3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2db3;
$custom-light: #bc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2db3",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 288.806,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52078,
    "c": 0.21079,
    "h": 319.3
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#9A2DB3
secondary
#84C775
accent
#E34562
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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