#9C2FB2#9C2FB2

#9C2FB2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.209 H 320.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9C2FB2
RGBrgb(156, 47, 178)
HSLhsl(290, 58%, 44%)
HSVhsv(290, 74%, 70%)
CMYKcmyk(12.4%, 73.6%, 0%, 30.2%)
CIE-LABlab(41.71, 61.73, -47.55)
CIE-LCHlch(41.71, 77.92, 322.39°)
OKLaboklab(52.47% 0.1605 -0.1332)
OKLCHoklch(52.47% 0.209 320.3)
XYZxyz(22.7617, 12.3165, 43.2892)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FB2 #45B22F
analogous
#5B2FB2 #9C2FB2 #B22F87
triadic
#9C2FB2 #B29C2F #2FB29C
tetradic
#9C2FB2 #B25B2F #45B22F #2F87B2
square
#9C2FB2 #B25B2F #45B22F #2F87B2
split-complementary
#9C2FB2 #87B22F #2FB25B
monochromatic
#471551 #722282 #9C2FB2 #BA4ED0 #CD7EDD

Accessibility & contrast

On white

6.06
#9C2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9C2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FB2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FB2#FFFFFF#000000##FFFFFF
##9C2FB21.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#9D496E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2fb2;
/* rgb */ color: rgb(156, 47, 178);
/* oklch */ color: oklch(52.5% 0.209 320.3);
Tailwind
colors: {
  custom: {
    50: '#bd73ca',
    500: '#9c2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fb2;
$custom-light: #bd73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fb2",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 289.924,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.20857,
    "h": 320.3
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#9C2FB2
secondary
#84C677
accent
#E14660
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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