#9C2FB8#9C2FB8

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

Color values

HEX#9C2FB8
RGBrgb(156, 47, 184)
HSLhsl(288, 59%, 45%)
HSVhsv(288, 74%, 72%)
CMYKcmyk(15.2%, 74.5%, 0%, 27.8%)
CIE-LABlab(42.10, 62.86, -50.48)
CIE-LCHlch(42.10, 80.62, 321.23°)
OKLaboklab(52.86% 0.1599 -0.1418)
OKLCHoklch(52.86% 0.214 318.4)
XYZxyz(23.3774, 12.5627, 46.5316)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FB8 #4BB82F
analogous
#572FB8 #9C2FB8 #B82F8F
triadic
#9C2FB8 #B89C2F #2FB89C
tetradic
#9C2FB8 #B8572F #4BB82F #2F8FB8
square
#9C2FB8 #B8572F #4BB82F #2F8FB8
split-complementary
#9C2FB8 #8FB82F #2FB857
monochromatic
#491657 #732387 #9C2FB8 #B852D3 #CC82DF

Accessibility & contrast

On white

5.98
#9C2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9C2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FB8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FB8#FFFFFF#000000##FFFFFF
##9C2FB81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3667B5
Tritanopia (blue-blind)
#9B4B72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c2fb8;
/* rgb */ color: rgb(156, 47, 184);
/* oklch */ color: oklch(52.9% 0.214 318.4);
Tailwind
colors: {
  custom: {
    50: '#bd73ce',
    500: '#9c2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fb8;
$custom-light: #bd73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fb8",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 287.737,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.21373,
    "h": 318.4
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#9C2FB8
secondary
#8AC87B
accent
#E24565
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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