#9C2FBA#9C2FBA

#9C2FBA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.215 H 317.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9C2FBA
RGBrgb(156, 47, 186)
HSLhsl(287, 60%, 46%)
HSVhsv(287, 75%, 73%)
CMYKcmyk(16.1%, 74.7%, 0%, 27.1%)
CIE-LABlab(42.23, 63.24, -51.45)
CIE-LCHlch(42.23, 81.52, 320.87°)
OKLaboklab(53% 0.1597 -0.1446)
OKLCHoklch(53% 0.215 317.8)
XYZxyz(23.5885, 12.6472, 47.6435)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FBA #4DBA2F
analogous
#562FBA #9C2FBA #BA2F93
triadic
#9C2FBA #BA9C2F #2FBA9C
tetradic
#9C2FBA #BA562F #4DBA2F #2F93BA
square
#9C2FBA #BA562F #4DBA2F #2F93BA
split-complementary
#9C2FBA #93BA2F #2FBA56
monochromatic
#4A1658 #732389 #9C2FBA #B853D3 #CC84E0

Accessibility & contrast

On white

5.95
#9C2FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9C2FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FBA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FBA#FFFFFF#000000##FFFFFF
##9C2FBA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#9B4C73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2fba;
/* rgb */ color: rgb(156, 47, 186);
/* oklch */ color: oklch(53.0% 0.215 317.8);
Tailwind
colors: {
  custom: {
    50: '#bd73cf',
    500: '#9c2fba',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fba;
$custom-light: #bd73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fba",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 287.05,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.21546,
    "h": 317.8
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#9C2FBA
secondary
#8CC97C
accent
#E34567
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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