#9D3CCC#9D3CCC

#9D3CCC is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.217 H 312.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9D3CCC
RGBrgb(157, 60, 204)
HSLhsl(280, 59%, 52%)
HSVhsv(280, 71%, 80%)
CMYKcmyk(23%, 70.6%, 0%, 20%)
CIE-LABlab(45.30, 62.06, -56.96)
CIE-LCHlch(45.30, 84.24, 317.45°)
OKLaboklab(55.59% 0.1463 -0.1609)
OKLCHoklch(55.59% 0.217 312.3)
XYZxyz(26.4176, 14.7602, 58.5724)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CCC #6BCC3C
analogous
#553CCC #9D3CCC #CC3CB3
triadic
#9D3CCC #CC9D3C #3CCC9D
tetradic
#9D3CCC #CC553C #6BCC3C #3CB3CC
square
#9D3CCC #CC553C #6BCC3C #3CB3CC
split-complementary
#9D3CCC #B3CC3C #3CCC55
monochromatic
#551D70 #7A2AA1 #9D3CCC #B56DD9 #CE9DE5

Accessibility & contrast

On white

5.31
#9D3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9D3CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CCC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CCC#FFFFFF#000000##FFFFFF
##9D3CCC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#985B80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d3ccc;
/* rgb */ color: rgb(157, 60, 204);
/* oklch */ color: oklch(55.6% 0.217 312.3);
Tailwind
colors: {
  custom: {
    50: '#be7adc',
    500: '#9d3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ccc;
$custom-light: #be7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ccc",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 280.417,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55592,
    "c": 0.21746,
    "h": 312.3
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#9D3CCC
secondary
#A7D192
accent
#E24679
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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