#9B2CC9#9B2CC9

#9B2CC9 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.231 H 313.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9B2CC9
RGBrgb(155, 44, 201)
HSLhsl(282, 64%, 48%)
HSVhsv(282, 78%, 79%)
CMYKcmyk(22.9%, 78.1%, 0%, 21.2%)
CIE-LABlab(42.74, 66.97, -59.37)
CIE-LCHlch(42.74, 89.50, 318.44°)
OKLaboklab(53.66% 0.1587 -0.1679)
OKLCHoklch(53.66% 0.231 313.4)
XYZxyz(24.9590, 12.9878, 56.4391)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CC9 #5AC92C
analogous
#4C2CC9 #9B2CC9 #C92CA9
triadic
#9B2CC9 #C99B2C #2CC99B
tetradic
#9B2CC9 #C94C2C #5AC92C #2CA9C9
square
#9B2CC9 #C94C2C #5AC92C #2CA9C9
split-complementary
#9B2CC9 #A9C92C #2CC94C
monochromatic
#4E1665 #742197 #9B2CC9 #B458DA #CB8AE5

Accessibility & contrast

On white

5.84
#9B2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9B2CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CC9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CC9#FFFFFF#000000##FFFFFF
##9B2CC91.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#1867C6
Tritanopia (blue-blind)
#96527B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2cc9;
/* rgb */ color: rgb(155, 44, 201);
/* oklch */ color: oklch(53.7% 0.231 313.4);
Tailwind
colors: {
  custom: {
    50: '#bd72da',
    500: '#9b2cc9',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cc9;
$custom-light: #bd72da;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cc9",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 282.42,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.23108,
    "h": 313.4
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#9B2CC9
secondary
#98CF82
accent
#E74171
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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