#9B2DCC#9B2DCC

#9B2DCC is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.0% C 0.233 H 312.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9B2DCC
RGBrgb(155, 45, 204)
HSLhsl(282, 64%, 49%)
HSVhsv(282, 78%, 80%)
CMYKcmyk(24%, 77.9%, 0%, 20%)
CIE-LABlab(43.07, 67.24, -60.58)
CIE-LCHlch(43.07, 90.51, 317.98°)
OKLaboklab(53.95% 0.1573 -0.1715)
OKLCHoklch(53.95% 0.233 312.5)
XYZxyz(25.3531, 13.2057, 58.3285)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DCC #5ECC2D
analogous
#4B2DCC #9B2DCC #CC2DAE
triadic
#9B2DCC #CC9B2D #2DCC9B
tetradic
#9B2DCC #CC4B2D #5ECC2D #2DAECC
square
#9B2DCC #CC4B2D #5ECC2D #2DAECC
split-complementary
#9B2DCC #AECC2D #2DCC4B
monochromatic
#4F1768 #75229A #9B2DCC #B45BDB #CB8DE6

Accessibility & contrast

On white

5.77
#9B2DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9B2DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DCC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DCC#FFFFFF#000000##FFFFFF
##9B2DCC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#1068C9
Tritanopia (blue-blind)
#95547C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b2dcc;
/* rgb */ color: rgb(155, 45, 204);
/* oklch */ color: oklch(54.0% 0.233 312.5);
Tailwind
colors: {
  custom: {
    50: '#be73dc',
    500: '#9b2dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9b2dcc;
$custom-light: #be73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2dcc",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 281.509,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.23274,
    "h": 312.5
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#9B2DCC
secondary
#9CD085
accent
#E74174
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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