#9C2FB4#9C2FB4

#9C2FB4 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.210 H 319.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9C2FB4
RGBrgb(156, 47, 180)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 74%, 71%)
CMYKcmyk(13.3%, 73.9%, 0%, 29.4%)
CIE-LABlab(41.84, 62.10, -48.53)
CIE-LCHlch(41.84, 78.82, 321.99°)
OKLaboklab(52.6% 0.1603 -0.1361)
OKLCHoklch(52.6% 0.21 319.7)
XYZxyz(22.9640, 12.3974, 44.3545)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FB4 #47B42F
analogous
#5A2FB4 #9C2FB4 #B42F8A
triadic
#9C2FB4 #B49C2F #2FB49C
tetradic
#9C2FB4 #B45A2F #47B42F #2F8AB4
square
#9C2FB4 #B45A2F #47B42F #2F8AB4
split-complementary
#9C2FB4 #8AB42F #2FB45A
monochromatic
#481653 #722283 #9C2FB4 #BA4FD1 #CD80DE

Accessibility & contrast

On white

6.04
#9C2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9C2FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FB4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FB4#FFFFFF#000000##FFFFFF
##9C2FB41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3A66B1
Tritanopia (blue-blind)
#9C4A6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2fb4;
/* rgb */ color: rgb(156, 47, 180);
/* oklch */ color: oklch(52.6% 0.210 319.7);
Tailwind
colors: {
  custom: {
    50: '#bd73cb',
    500: '#9c2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fb4;
$custom-light: #bd73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fb4",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 289.173,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.21029,
    "h": 319.7
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#9C2FB4
secondary
#86C778
accent
#E24662
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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