#9B2DA4#9B2DA4

#9B2DA4 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.199 H 324.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9B2DA4
RGBrgb(155, 45, 164)
HSLhsl(295, 57%, 41%)
HSVhsv(295, 73%, 64%)
CMYKcmyk(5.5%, 72.6%, 0%, 35.7%)
CIE-LABlab(40.45, 59.68, -41.25)
CIE-LCHlch(40.45, 72.55, 325.35°)
OKLaboklab(51.27% 0.162 -0.1148)
OKLCHoklch(51.27% 0.199 324.7)
XYZxyz(21.1563, 11.5270, 36.2254)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DA4 #36A42D
analogous
#5F2DA4 #9B2DA4 #A42D71
triadic
#9B2DA4 #A49B2D #2DA49B
tetradic
#9B2DA4 #A45F2D #36A42D #2D71A4
square
#9B2DA4 #A45F2D #36A42D #2D71A4
split-complementary
#9B2DA4 #71A42D #2DA45F
monochromatic
#401344 #6E2074 #9B2DA4 #C143CB #D173D9

Accessibility & contrast

On white

6.35
#9B2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9B2DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DA4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DA4#FFFFFF#000000##FFFFFF
##9B2DA41.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0557A7
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#9E4166
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2da4;
/* rgb */ color: rgb(155, 45, 164);
/* oklch */ color: oklch(51.3% 0.199 324.7);
Tailwind
colors: {
  custom: {
    50: '#bc71bf',
    500: '#9b2da4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2da4;
$custom-light: #bc71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2da4",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 295.462,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51267,
    "c": 0.1986,
    "h": 324.7
  },
  "luminance": 0.11526
}

Semantic roles & 50–950 ramp

primary
#9B2DA4
secondary
#73C06D
accent
#E04853
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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