#9B2DB3#9B2DB3

#9B2DB3 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.211 H 319.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9B2DB3
RGBrgb(155, 45, 179)
HSLhsl(289, 60%, 44%)
HSVhsv(289, 75%, 70%)
CMYKcmyk(13.4%, 74.9%, 0%, 29.8%)
CIE-LABlab(41.38, 62.41, -48.70)
CIE-LCHlch(41.38, 79.16, 322.04°)
OKLaboklab(52.22% 0.161 -0.1366)
OKLCHoklch(52.22% 0.211 319.7)
XYZxyz(22.5916, 12.1011, 43.7849)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DB3 #45B32D
analogous
#582DB3 #9B2DB3 #B32D88
triadic
#9B2DB3 #B39B2D #2DB39B
tetradic
#9B2DB3 #B3582D #45B32D #2D88B3
square
#9B2DB3 #B3582D #45B32D #2D88B3
split-complementary
#9B2DB3 #88B32D #2DB358
monochromatic
#461451 #712182 #9B2DB3 #BA4BD2 #CD7CDE

Accessibility & contrast

On white

6.14
#9B2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9B2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DB3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DB3#FFFFFF#000000##FFFFFF
##9B2DB31.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#9B486E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2db3;
/* rgb */ color: rgb(155, 45, 179);
/* oklch */ color: oklch(52.2% 0.211 319.7);
Tailwind
colors: {
  custom: {
    50: '#bc72ca',
    500: '#9b2db3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2db3;
$custom-light: #bc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2db3",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 289.254,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.21118,
    "h": 319.7
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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