#9A2DB0#9A2DB0

#9A2DB0 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.208 H 320.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9A2DB0
RGBrgb(154, 45, 176)
HSLhsl(290, 59%, 43%)
HSVhsv(290, 74%, 69%)
CMYKcmyk(12.5%, 74.4%, 0%, 31%)
CIE-LABlab(41.03, 61.65, -47.49)
CIE-LCHlch(41.03, 77.82, 322.39°)
OKLaboklab(51.88% 0.1601 -0.1331)
OKLCHoklch(51.88% 0.208 320.3)
XYZxyz(22.1003, 11.8825, 42.1953)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DB0 #43B02D
analogous
#592DB0 #9A2DB0 #B02D84
triadic
#9A2DB0 #B09A2D #2DB09A
tetradic
#9A2DB0 #B0592D #43B02D #2D84B0
square
#9A2DB0 #B0592D #43B02D #2D84B0
split-complementary
#9A2DB0 #84B02D #2DB059
monochromatic
#45144F #6F217F #9A2DB0 #BA4AD1 #CC7ADD

Accessibility & contrast

On white

6.22
#9A2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9A2DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DB0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DB0#FFFFFF#000000##FFFFFF
##9A2DB01.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3A64AD
Tritanopia (blue-blind)
#9B476D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2db0;
/* rgb */ color: rgb(154, 45, 176);
/* oklch */ color: oklch(51.9% 0.208 320.3);
Tailwind
colors: {
  custom: {
    50: '#bc71c8',
    500: '#9a2db0',
    950: '#000000',
  },
}
SCSS
$custom: #9a2db0;
$custom-light: #bc71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2db0",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 289.924,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.20822,
    "h": 320.3
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#9A2DB0
secondary
#81C573
accent
#E24560
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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