#9C2FB9#9C2FB9

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

Color values

HEX#9C2FB9
RGBrgb(156, 47, 185)
HSLhsl(287, 59%, 45%)
HSVhsv(287, 75%, 73%)
CMYKcmyk(15.7%, 74.6%, 0%, 27.5%)
CIE-LABlab(42.16, 63.04, -50.96)
CIE-LCHlch(42.16, 81.07, 321.05°)
OKLaboklab(52.93% 0.1598 -0.1432)
OKLCHoklch(52.93% 0.215 318.1)
XYZxyz(23.4825, 12.6048, 47.0856)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FB9 #4CB92F
analogous
#572FB9 #9C2FB9 #B92F91
triadic
#9C2FB9 #B99C2F #2FB99C
tetradic
#9C2FB9 #B9572F #4CB92F #2F91B9
square
#9C2FB9 #B9572F #4CB92F #2F91B9
split-complementary
#9C2FB9 #91B92F #2FB957
monochromatic
#4A1657 #732388 #9C2FB9 #B852D3 #CC83DF

Accessibility & contrast

On white

5.96
#9C2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9C2FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FB9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FB9#FFFFFF#000000##FFFFFF
##9C2FB91.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#3567B6
Tritanopia (blue-blind)
#9B4C72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2fb9;
/* rgb */ color: rgb(156, 47, 185);
/* oklch */ color: oklch(52.9% 0.215 318.1);
Tailwind
colors: {
  custom: {
    50: '#bd73cf',
    500: '#9c2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fb9;
$custom-light: #bd73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fb9",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 287.391,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.21459,
    "h": 318.1
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#9C2FB9
secondary
#8BC97B
accent
#E34566
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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