#9B2CC2#9B2CC2

#9B2CC2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.225 H 315.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9B2CC2
RGBrgb(155, 44, 194)
HSLhsl(284, 63%, 47%)
HSVhsv(284, 77%, 76%)
CMYKcmyk(20.1%, 77.3%, 0%, 23.9%)
CIE-LABlab(42.26, 65.60, -56.09)
CIE-LCHlch(42.26, 86.31, 319.47°)
OKLaboklab(53.16% 0.1599 -0.1583)
OKLCHoklch(53.16% 0.225 315.3)
XYZxyz(24.1543, 12.6659, 52.2009)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CC2 #53C22C
analogous
#502CC2 #9B2CC2 #C22C9E
triadic
#9B2CC2 #C29B2C #2CC29B
tetradic
#9B2CC2 #C2502C #53C22C #2C9EC2
square
#9B2CC2 #C2502C #53C22C #2C9EC2
split-complementary
#9B2CC2 #9EC22C #2CC250
monochromatic
#4B155E #732190 #9B2CC2 #B553D8 #CB85E3

Accessibility & contrast

On white

5.94
#9B2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9B2CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CC2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CC2#FFFFFF#000000##FFFFFF
##9B2CC21.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2667BF
Tritanopia (blue-blind)
#984F77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2cc2;
/* rgb */ color: rgb(155, 44, 194);
/* oklch */ color: oklch(53.2% 0.225 315.3);
Tailwind
colors: {
  custom: {
    50: '#bd72d5',
    500: '#9b2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cc2;
$custom-light: #bd72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cc2",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 284.4,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.22503,
    "h": 315.3
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#9B2CC2
secondary
#92CD7D
accent
#E6426C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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