#9D2CD4#9D2CD4

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

Color values

HEX#9D2CD4
RGBrgb(157, 44, 212)
HSLhsl(280, 66%, 50%)
HSVhsv(280, 79%, 83%)
CMYKcmyk(25.9%, 79.2%, 0%, 16.9%)
CIE-LABlab(43.83, 69.50, -63.95)
CIE-LCHlch(43.83, 94.45, 317.38°)
OKLaboklab(54.73% 0.159 -0.1813)
OKLCHoklch(54.73% 0.241 311.3)
XYZxyz(26.6867, 13.7236, 63.5177)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CD4 #63D42C
analogous
#492CD4 #9D2CD4 #D42CB7
triadic
#9D2CD4 #D49D2C #2CD49D
tetradic
#9D2CD4 #D4492C #63D42C #2CB7D4
square
#9D2CD4 #D4492C #63D42C #2CB7D4
split-complementary
#9D2CD4 #B7D42C #2CD449
monochromatic
#52176F #7821A2 #9D2CD4 #B55FDE #CC92E9

Accessibility & contrast

On white

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

On black

3.74
#9D2CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D2CD4#FFFFFF#000000##FFFFFF
##9D2CD41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#965781
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d2cd4;
/* rgb */ color: rgb(157, 44, 212);
/* oklch */ color: oklch(54.7% 0.241 311.3);
Tailwind
colors: {
  custom: {
    50: '#bf73e2',
    500: '#9d2cd4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cd4;
$custom-light: #bf73e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cd4",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 280.357,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.24118,
    "h": 311.3
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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