#9B2DC2#9B2DC2

#9B2DC2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.224 H 315.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9B2DC2
RGBrgb(155, 45, 194)
HSLhsl(284, 62%, 47%)
HSVhsv(284, 77%, 76%)
CMYKcmyk(20.1%, 76.8%, 0%, 23.9%)
CIE-LABlab(42.37, 65.27, -55.91)
CIE-LCHlch(42.37, 85.94, 319.42°)
OKLaboklab(53.24% 0.1591 -0.1577)
OKLCHoklch(53.24% 0.224 315.2)
XYZxyz(24.1920, 12.7413, 52.2135)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DC2 #54C22D
analogous
#502DC2 #9B2DC2 #C22D9F
triadic
#9B2DC2 #C29B2D #2DC29B
tetradic
#9B2DC2 #C2502D #54C22D #2D9FC2
square
#9B2DC2 #C2502D #54C22D #2D9FC2
split-complementary
#9B2DC2 #9FC22D #2DC250
monochromatic
#4C165F #732190 #9B2DC2 #B555D7 #CB86E3

Accessibility & contrast

On white

5.92
#9B2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9B2DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DC2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DC2#FFFFFF#000000##FFFFFF
##9B2DC21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#984F77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2dc2;
/* rgb */ color: rgb(155, 45, 194);
/* oklch */ color: oklch(53.2% 0.224 315.2);
Tailwind
colors: {
  custom: {
    50: '#bd72d5',
    500: '#9b2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dc2;
$custom-light: #bd72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dc2",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 284.295,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.22406,
    "h": 315.2
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#9B2DC2
secondary
#93CD7E
accent
#E5426D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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