#9B2CC7#9B2CC7

#9B2CC7 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.229 H 313.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9B2CC7
RGBrgb(155, 44, 199)
HSLhsl(283, 64%, 48%)
HSVhsv(283, 78%, 78%)
CMYKcmyk(22.1%, 77.9%, 0%, 22%)
CIE-LABlab(42.60, 66.58, -58.44)
CIE-LCHlch(42.60, 88.59, 318.72°)
OKLaboklab(53.51% 0.1591 -0.1652)
OKLCHoklch(53.51% 0.229 313.9)
XYZxyz(24.7253, 12.8943, 55.2082)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CC7 #58C72C
analogous
#4E2CC7 #9B2CC7 #C72CA5
triadic
#9B2CC7 #C79B2C #2CC79B
tetradic
#9B2CC7 #C74E2C #58C72C #2CA5C7
square
#9B2CC7 #C74E2C #58C72C #2CA5C7
split-complementary
#9B2CC7 #A5C72C #2CC74E
monochromatic
#4D1663 #742195 #9B2CC7 #B456DA #CB89E5

Accessibility & contrast

On white

5.87
#9B2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9B2CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CC7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CC7#FFFFFF#000000##FFFFFF
##9B2CC71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#1C67C4
Tritanopia (blue-blind)
#975179
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2cc7;
/* rgb */ color: rgb(155, 44, 199);
/* oklch */ color: oklch(53.5% 0.229 313.9);
Tailwind
colors: {
  custom: {
    50: '#bd72d9',
    500: '#9b2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cc7;
$custom-light: #bd72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cc7",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 282.968,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.22933,
    "h": 313.9
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#9B2CC7
secondary
#96CF80
accent
#E74170
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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