#9B2CC8#9B2CC8

#9B2CC8 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.230 H 313.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9B2CC8
RGBrgb(155, 44, 200)
HSLhsl(283, 64%, 48%)
HSVhsv(283, 78%, 78%)
CMYKcmyk(22.5%, 78%, 0%, 21.6%)
CIE-LABlab(42.67, 66.78, -58.91)
CIE-LCHlch(42.67, 89.05, 318.58°)
OKLaboklab(53.59% 0.1589 -0.1666)
OKLCHoklch(53.59% 0.23 313.7)
XYZxyz(24.8418, 12.9409, 55.8216)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CC8 #59C82C
analogous
#4D2CC8 #9B2CC8 #C82CA7
triadic
#9B2CC8 #C89B2C #2CC89B
tetradic
#9B2CC8 #C84D2C #59C82C #2CA7C8
square
#9B2CC8 #C84D2C #59C82C #2CA7C8
split-complementary
#9B2CC8 #A7C82C #2CC84D
monochromatic
#4D1664 #742196 #9B2CC8 #B457DA #CB89E5

Accessibility & contrast

On white

5.85
#9B2CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9B2CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CC8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CC8#FFFFFF#000000##FFFFFF
##9B2CC81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#1A67C5
Tritanopia (blue-blind)
#96517A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2cc8;
/* rgb */ color: rgb(155, 44, 200);
/* oklch */ color: oklch(53.6% 0.230 313.7);
Tailwind
colors: {
  custom: {
    50: '#bd72da',
    500: '#9b2cc8',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cc8;
$custom-light: #bd72da;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cc8",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 200
  },
  "hsl": {
    "h": 282.692,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53585,
    "c": 0.23021,
    "h": 313.7
  },
  "luminance": 0.1294
}

Semantic roles & 50–950 ramp

primary
#9B2CC8
secondary
#97CF81
accent
#E74171
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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