#9B2CD2#9B2CD2

#9B2CD2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.3% C 0.239 H 311.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9B2CD2
RGBrgb(155, 44, 210)
HSLhsl(280, 65%, 50%)
HSVhsv(280, 79%, 82%)
CMYKcmyk(26.2%, 79%, 0%, 17.6%)
CIE-LABlab(43.39, 68.77, -63.52)
CIE-LCHlch(43.39, 93.62, 317.27°)
OKLaboklab(54.32% 0.1569 -0.1801)
OKLCHoklch(54.32% 0.239 311.1)
XYZxyz(26.0489, 13.4237, 62.1791)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CD2 #63D22C
analogous
#482CD2 #9B2CD2 #D22CB6
triadic
#9B2CD2 #D29B2C #2CD29B
tetradic
#9B2CD2 #D2482C #63D22C #2CB6D2
square
#9B2CD2 #D2482C #63D22C #2CB6D2
split-complementary
#9B2CD2 #B6D22C #2CD248
monochromatic
#50176D #76219F #9B2CD2 #B35EDD #CB91E8

Accessibility & contrast

On white

5.70
#9B2CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9B2CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CD2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CD2#FFFFFF#000000##FFFFFF
##9B2CD21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#945680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b2cd2;
/* rgb */ color: rgb(155, 44, 210);
/* oklch */ color: oklch(54.3% 0.239 311.1);
Tailwind
colors: {
  custom: {
    50: '#be73e1',
    500: '#9b2cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cd2;
$custom-light: #be73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cd2",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 210
  },
  "hsl": {
    "h": 280.12,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.23888,
    "h": 311.1
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#9B2CD2
secondary
#A0D287
accent
#E83F77
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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