#9C2ED3#9C2ED3

#9C2ED3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.7% C 0.238 H 311.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9C2ED3
RGBrgb(156, 46, 211)
HSLhsl(280, 65%, 50%)
HSVhsv(280, 78%, 83%)
CMYKcmyk(26.1%, 78.2%, 0%, 17.3%)
CIE-LABlab(43.84, 68.49, -63.38)
CIE-LCHlch(43.84, 93.31, 317.22°)
OKLaboklab(54.68% 0.1564 -0.1797)
OKLCHoklch(54.68% 0.238 311)
XYZxyz(26.4429, 13.7257, 62.8717)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2ED3 #65D32E
analogous
#492ED3 #9C2ED3 #D32EB7
triadic
#9C2ED3 #D39C2E #2ED39C
tetradic
#9C2ED3 #D3492E #65D32E #2EB7D3
square
#9C2ED3 #D3492E #65D32E #2EB7D3
split-complementary
#9C2ED3 #B7D32E #2ED349
monochromatic
#52176F #7722A2 #9C2ED3 #B461DE #CC93E8

Accessibility & contrast

On white

5.61
#9C2ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9C2ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2ED3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2ED3#FFFFFF#000000##FFFFFF
##9C2ED31.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#955781
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c2ed3;
/* rgb */ color: rgb(156, 46, 211);
/* oklch */ color: oklch(54.7% 0.238 311.0);
Tailwind
colors: {
  custom: {
    50: '#bf74e1',
    500: '#9c2ed3',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ed3;
$custom-light: #bf74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ed3",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 280,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.23823,
    "h": 311
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#9C2ED3
secondary
#A2D38A
accent
#E84078
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C2ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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