#9B2CC1#9B2CC1

#9B2CC1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.224 H 315.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9B2CC1
RGBrgb(155, 44, 193)
HSLhsl(285, 63%, 46%)
HSVhsv(285, 77%, 76%)
CMYKcmyk(19.7%, 77.2%, 0%, 24.3%)
CIE-LABlab(42.19, 65.41, -55.62)
CIE-LCHlch(42.19, 85.86, 319.63°)
OKLaboklab(53.09% 0.1601 -0.1569)
OKLCHoklch(53.09% 0.224 315.6)
XYZxyz(24.0423, 12.6211, 51.6114)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CC1 #52C12C
analogous
#512CC1 #9B2CC1 #C12C9D
triadic
#9B2CC1 #C19B2C #2CC19B
tetradic
#9B2CC1 #C1512C #52C12C #2C9DC1
square
#9B2CC1 #C1512C #52C12C #2C9DC1
split-complementary
#9B2CC1 #9DC12C #2CC151
monochromatic
#4B155D #73218F #9B2CC1 #B653D8 #CB84E3

Accessibility & contrast

On white

5.96
#9B2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9B2CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CC1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CC1#FFFFFF#000000##FFFFFF
##9B2CC11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#2766BE
Tritanopia (blue-blind)
#984E76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2cc1;
/* rgb */ color: rgb(155, 44, 193);
/* oklch */ color: oklch(53.1% 0.224 315.6);
Tailwind
colors: {
  custom: {
    50: '#bd72d4',
    500: '#9b2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cc1;
$custom-light: #bd72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cc1",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 284.698,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53088,
    "c": 0.22417,
    "h": 315.6
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#9B2CC1
secondary
#91CC7D
accent
#E6426C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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