#9C2FBB#9C2FBB

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

Color values

HEX#9C2FBB
RGBrgb(156, 47, 187)
HSLhsl(287, 60%, 46%)
HSVhsv(287, 75%, 73%)
CMYKcmyk(16.6%, 74.9%, 0%, 26.7%)
CIE-LABlab(42.29, 63.43, -51.93)
CIE-LCHlch(42.29, 81.97, 320.69°)
OKLaboklab(53.07% 0.1596 -0.1461)
OKLCHoklch(53.07% 0.216 317.5)
XYZxyz(23.6952, 12.6899, 48.2053)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FBB #4EBB2F
analogous
#562FBB #9C2FBB #BB2F94
triadic
#9C2FBB #BB9C2F #2FBB9C
tetradic
#9C2FBB #BB562F #4EBB2F #2F94BB
square
#9C2FBB #BB562F #4EBB2F #2F94BB
split-complementary
#9C2FBB #94BB2F #2FBB56
monochromatic
#4A1659 #73238A #9C2FBB #B753D4 #CC84E0

Accessibility & contrast

On white

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

On black

3.54
#9C2FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9C2FBB#FFFFFF#000000##FFFFFF
##9C2FBB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#9B4D73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2fbb;
/* rgb */ color: rgb(156, 47, 187);
/* oklch */ color: oklch(53.1% 0.216 317.5);
Tailwind
colors: {
  custom: {
    50: '#bd73d0',
    500: '#9c2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fbb;
$custom-light: #bd73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fbb",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 286.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.21632,
    "h": 317.5
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#9C2FBB
secondary
#8DC97C
accent
#E34568
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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