#9C2FB7#9C2FB7

#9C2FB7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.213 H 318.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9C2FB7
RGBrgb(156, 47, 183)
HSLhsl(288, 59%, 45%)
HSVhsv(288, 74%, 72%)
CMYKcmyk(14.8%, 74.3%, 0%, 28.2%)
CIE-LABlab(42.03, 62.67, -49.99)
CIE-LCHlch(42.03, 80.16, 321.42°)
OKLaboklab(52.8% 0.16 -0.1404)
OKLCHoklch(52.8% 0.213 318.7)
XYZxyz(23.2729, 12.5210, 45.9815)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FB7 #4AB72F
analogous
#582FB7 #9C2FB7 #B72F8E
triadic
#9C2FB7 #B79C2F #2FB79C
tetradic
#9C2FB7 #B7582F #4AB72F #2F8EB7
square
#9C2FB7 #B7582F #4AB72F #2F8EB7
split-complementary
#9C2FB7 #8EB72F #2FB758
monochromatic
#491656 #722286 #9C2FB7 #B951D2 #CC82DF

Accessibility & contrast

On white

5.99
#9C2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9C2FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FB7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FB7#FFFFFF#000000##FFFFFF
##9C2FB71.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3767B4
Tritanopia (blue-blind)
#9C4B71
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2fb7;
/* rgb */ color: rgb(156, 47, 183);
/* oklch */ color: oklch(52.8% 0.213 318.7);
Tailwind
colors: {
  custom: {
    50: '#bd73cd',
    500: '#9c2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fb7;
$custom-light: #bd73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fb7",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 288.088,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.21287,
    "h": 318.7
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#9C2FB7
secondary
#89C87A
accent
#E24565
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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