#9C2FBC#9C2FBC

#9C2FBC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.217 H 317.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9C2FBC
RGBrgb(156, 47, 188)
HSLhsl(286, 60%, 46%)
HSVhsv(286, 75%, 74%)
CMYKcmyk(17%, 75%, 0%, 26.3%)
CIE-LABlab(42.36, 63.62, -52.41)
CIE-LCHlch(42.36, 82.43, 320.52°)
OKLaboklab(53.13% 0.1594 -0.1475)
OKLCHoklch(53.13% 0.217 317.2)
XYZxyz(23.8026, 12.7328, 48.7711)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FBC #4FBC2F
analogous
#552FBC #9C2FBC #BC2F95
triadic
#9C2FBC #BC9C2F #2FBC9C
tetradic
#9C2FBC #BC552F #4FBC2F #2F95BC
square
#9C2FBC #BC552F #4FBC2F #2F95BC
split-complementary
#9C2FBC #95BC2F #2FBC55
monochromatic
#4B175A #73238B #9C2FBC #B754D4 #CC85E0

Accessibility & contrast

On white

5.92
#9C2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9C2FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FBC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FBC#FFFFFF#000000##FFFFFF
##9C2FBC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#9A4D74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2fbc;
/* rgb */ color: rgb(156, 47, 188);
/* oklch */ color: oklch(53.1% 0.217 317.2);
Tailwind
colors: {
  custom: {
    50: '#bd73d1',
    500: '#9c2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fbc;
$custom-light: #bd73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fbc",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 286.383,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.21718,
    "h": 317.2
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#9C2FBC
secondary
#8ECA7D
accent
#E34569
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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