#9B2DCA#9B2DCA

#9B2DCA is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.231 H 313.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9B2DCA
RGBrgb(155, 45, 202)
HSLhsl(282, 64%, 48%)
HSVhsv(282, 78%, 79%)
CMYKcmyk(23.3%, 77.7%, 0%, 20.8%)
CIE-LABlab(42.93, 66.84, -59.66)
CIE-LCHlch(42.93, 89.59, 318.25°)
OKLaboklab(53.81% 0.1577 -0.1688)
OKLCHoklch(53.81% 0.231 313.1)
XYZxyz(25.1147, 13.1104, 57.0732)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DCA #5CCA2D
analogous
#4C2DCA #9B2DCA #CA2DAA
triadic
#9B2DCA #CA9B2D #2DCA9B
tetradic
#9B2DCA #CA4C2D #5CCA2D #2DAACA
square
#9B2DCA #CA4C2D #5CCA2D #2DAACA
split-complementary
#9B2DCA #AACA2D #2DCA4C
monochromatic
#4E1766 #752298 #9B2DCA #B45ADA #CB8CE5

Accessibility & contrast

On white

5.80
#9B2DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9B2DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DCA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DCA#FFFFFF#000000##FFFFFF
##9B2DCA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#1768C7
Tritanopia (blue-blind)
#96537B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2dca;
/* rgb */ color: rgb(155, 45, 202);
/* oklch */ color: oklch(53.8% 0.231 313.1);
Tailwind
colors: {
  custom: {
    50: '#bd73db',
    500: '#9b2dca',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dca;
$custom-light: #bd73db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dca",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 282.038,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.231,
    "h": 313.1
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#9B2DCA
secondary
#9ACF83
accent
#E74173
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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