#9B2DA3#9B2DA3

#9B2DA3 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.198 H 325.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9B2DA3
RGBrgb(155, 45, 163)
HSLhsl(296, 57%, 41%)
HSVhsv(296, 72%, 64%)
CMYKcmyk(4.9%, 72.4%, 0%, 36.1%)
CIE-LABlab(40.40, 59.51, -40.74)
CIE-LCHlch(40.40, 72.12, 325.60°)
OKLaboklab(51.21% 0.1621 -0.1134)
OKLCHoklch(51.21% 0.198 325)
XYZxyz(21.0663, 11.4910, 35.7516)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DA3 #35A32D
analogous
#602DA3 #9B2DA3 #A32D70
triadic
#9B2DA3 #A39B2D #2DA39B
tetradic
#9B2DA3 #A3602D #35A32D #2D70A3
square
#9B2DA3 #A3602D #35A32D #2D70A3
split-complementary
#9B2DA3 #70A32D #2DA360
monochromatic
#401343 #6D2073 #9B2DA3 #C242CB #D172D8

Accessibility & contrast

On white

6.37
#9B2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9B2DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DA3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DA3#FFFFFF#000000##FFFFFF
##9B2DA31.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0857A6
Deuteranopia (green-blind)
#4564A0
Tritanopia (blue-blind)
#9E4165
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2da3;
/* rgb */ color: rgb(155, 45, 163);
/* oklch */ color: oklch(51.2% 0.198 325.0);
Tailwind
colors: {
  custom: {
    50: '#bc71bf',
    500: '#9b2da3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2da3;
$custom-light: #bc71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2da3",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 295.932,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.19777,
    "h": 325
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#9B2DA3
secondary
#72C06C
accent
#E04852
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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