#9C2DCA#9C2DCA

#9C2DCA is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.231 H 313.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9C2DCA
RGBrgb(156, 45, 202)
HSLhsl(282, 64%, 48%)
HSVhsv(282, 78%, 79%)
CMYKcmyk(22.8%, 77.7%, 0%, 20.8%)
CIE-LABlab(43.08, 67.02, -59.41)
CIE-LCHlch(43.08, 89.56, 318.45°)
OKLaboklab(53.94% 0.159 -0.168)
OKLCHoklch(53.94% 0.231 313.4)
XYZxyz(25.3075, 13.2098, 57.0823)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DCA #5BCA2D
analogous
#4D2DCA #9C2DCA #CA2DA9
triadic
#9C2DCA #CA9C2D #2DCA9C
tetradic
#9C2DCA #CA4D2D #5BCA2D #2DA9CA
square
#9C2DCA #CA4D2D #5BCA2D #2DA9CA
split-complementary
#9C2DCA #A9CA2D #2DCA4D
monochromatic
#4F1766 #752298 #9C2DCA #B55ADA #CB8CE5

Accessibility & contrast

On white

5.77
#9C2DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9C2DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DCA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DCA#FFFFFF#000000##FFFFFF
##9C2DCA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#1A68C7
Tritanopia (blue-blind)
#97537B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c2dca;
/* rgb */ color: rgb(156, 45, 202);
/* oklch */ color: oklch(53.9% 0.231 313.4);
Tailwind
colors: {
  custom: {
    50: '#be73db',
    500: '#9c2dca',
    950: '#000000',
  },
}
SCSS
$custom: #9c2dca;
$custom-light: #be73db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2dca",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 282.42,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.23131,
    "h": 313.4
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#9C2DCA
secondary
#9ACF83
accent
#E74172
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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