#9C2CD4#9C2CD4

#9C2CD4 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.6% C 0.241 H 310.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9C2CD4
RGBrgb(156, 44, 212)
HSLhsl(280, 66%, 50%)
HSVhsv(280, 79%, 83%)
CMYKcmyk(26.4%, 79.2%, 0%, 16.9%)
CIE-LABlab(43.69, 69.34, -64.19)
CIE-LCHlch(43.69, 94.49, 317.20°)
OKLaboklab(54.6% 0.1577 -0.1821)
OKLCHoklch(54.6% 0.241 310.9)
XYZxyz(26.4923, 13.6234, 63.5086)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CD4 #64D42C
analogous
#482CD4 #9C2CD4 #D42CB8
triadic
#9C2CD4 #D49C2C #2CD49C
tetradic
#9C2CD4 #D4482C #64D42C #2CB8D4
square
#9C2CD4 #D4482C #64D42C #2CB8D4
split-complementary
#9C2CD4 #B8D42C #2CD448
monochromatic
#52176F #7721A2 #9C2CD4 #B45FDE #CC92E9

Accessibility & contrast

On white

5.64
#9C2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9C2CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CD4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CD4#FFFFFF#000000##FFFFFF
##9C2CD41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#945781
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c2cd4;
/* rgb */ color: rgb(156, 44, 212);
/* oklch */ color: oklch(54.6% 0.241 310.9);
Tailwind
colors: {
  custom: {
    50: '#bf73e2',
    500: '#9c2cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9c2cd4;
$custom-light: #bf73e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2cd4",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 280,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.24089,
    "h": 310.9
  },
  "luminance": 0.13623
}

Semantic roles & 50–950 ramp

primary
#9C2CD4
secondary
#A1D388
accent
#E93F78
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84

Preview Lab

Preview with #9C2CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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