#9B2DC0#9B2DC0

#9B2DC0 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.222 H 315.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9B2DC0
RGBrgb(155, 45, 192)
HSLhsl(285, 62%, 46%)
HSVhsv(285, 77%, 75%)
CMYKcmyk(19.3%, 76.6%, 0%, 24.7%)
CIE-LABlab(42.23, 64.88, -54.96)
CIE-LCHlch(42.23, 85.03, 319.73°)
OKLaboklab(53.1% 0.1594 -0.155)
OKLCHoklch(53.1% 0.222 315.8)
XYZxyz(23.9689, 12.6521, 51.0385)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DC0 #52C02D
analogous
#522DC0 #9B2DC0 #C02D9C
triadic
#9B2DC0 #C09B2D #2DC09B
tetradic
#9B2DC0 #C0522D #52C02D #2D9CC0
square
#9B2DC0 #C0522D #52C02D #2D9CC0
split-complementary
#9B2DC0 #9CC02D #2DC052
monochromatic
#4B165D #73218E #9B2DC0 #B653D7 #CB85E2

Accessibility & contrast

On white

5.95
#9B2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9B2DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DC0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DC0#FFFFFF#000000##FFFFFF
##9B2DC01.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#2A67BD
Tritanopia (blue-blind)
#984E76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2dc0;
/* rgb */ color: rgb(155, 45, 192);
/* oklch */ color: oklch(53.1% 0.222 315.8);
Tailwind
colors: {
  custom: {
    50: '#bd72d4',
    500: '#9b2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dc0;
$custom-light: #bd72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dc0",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 284.898,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.531,
    "c": 0.22233,
    "h": 315.8
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#9B2DC0
secondary
#91CC7D
accent
#E5436C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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