#9B2DCE#9B2DCE

#9B2DCE is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.234 H 312.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9B2DCE
RGBrgb(155, 45, 206)
HSLhsl(281, 64%, 49%)
HSVhsv(281, 78%, 81%)
CMYKcmyk(24.8%, 78.2%, 0%, 19.2%)
CIE-LABlab(43.22, 67.64, -61.51)
CIE-LCHlch(43.22, 91.42, 317.72°)
OKLaboklab(54.1% 0.157 -0.1742)
OKLCHoklch(54.1% 0.234 312)
XYZxyz(25.5945, 13.3023, 59.5999)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DCE #60CE2D
analogous
#4B2DCE #9B2DCE #CE2DB1
triadic
#9B2DCE #CE9B2D #2DCE9B
tetradic
#9B2DCE #CE4B2D #60CE2D #2DB1CE
square
#9B2DCE #CE4B2D #60CE2D #2DB1CE
split-complementary
#9B2DCE #B1CE2D #2DCE4B
monochromatic
#4F176A #75229C #9B2DCE #B35DDC #CB8FE7

Accessibility & contrast

On white

5.74
#9B2DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9B2DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DCE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DCE#FFFFFF#000000##FFFFFF
##9B2DCE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0868CB
Tritanopia (blue-blind)
#95557E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b2dce;
/* rgb */ color: rgb(155, 45, 206);
/* oklch */ color: oklch(54.1% 0.234 312.0);
Tailwind
colors: {
  custom: {
    50: '#be73de',
    500: '#9b2dce',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dce;
$custom-light: #be73de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dce",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 280.994,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.541,
    "c": 0.23448,
    "h": 312
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#9B2DCE
secondary
#9ED186
accent
#E74175
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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