#9D3ECC#9D3ECC

#9D3ECC is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.215 H 312.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9D3ECC
RGBrgb(157, 62, 204)
HSLhsl(280, 58%, 52%)
HSVhsv(280, 70%, 80%)
CMYKcmyk(23%, 69.6%, 0%, 20%)
CIE-LABlab(45.60, 61.23, -56.49)
CIE-LCHlch(45.60, 83.31, 317.31°)
OKLaboklab(55.8% 0.1443 -0.1595)
OKLCHoklch(55.8% 0.215 312.1)
XYZxyz(26.5243, 14.9737, 58.6080)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ECC #6DCC3E
analogous
#563ECC #9D3ECC #CC3EB4
triadic
#9D3ECC #CC9D3E #3ECC9D
tetradic
#9D3ECC #CC563E #6DCC3E #3EB4CC
square
#9D3ECC #CC563E #6DCC3E #3EB4CC
split-complementary
#9D3ECC #B4CC3E #3ECC56
monochromatic
#561E72 #7B2BA2 #9D3ECC #B66ED9 #CE9FE6

Accessibility & contrast

On white

5.26
#9D3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9D3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3ECC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ECC#FFFFFF#000000##FFFFFF
##9D3ECC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#975C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3ecc;
/* rgb */ color: rgb(157, 62, 204);
/* oklch */ color: oklch(55.8% 0.215 312.1);
Tailwind
colors: {
  custom: {
    50: '#be7bdc',
    500: '#9d3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ecc;
$custom-light: #be7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ecc",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 280.141,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.21507,
    "h": 312.1
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#9D3ECC
secondary
#A8D294
accent
#E1467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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