#9D2EC3#9D2EC3

#9D2EC3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.225 H 315.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9D2EC3
RGBrgb(157, 46, 195)
HSLhsl(285, 62%, 47%)
HSVhsv(285, 76%, 76%)
CMYKcmyk(19.5%, 76.4%, 0%, 23.5%)
CIE-LABlab(42.86, 65.50, -55.69)
CIE-LCHlch(42.86, 85.97, 319.63°)
OKLaboklab(53.67% 0.1606 -0.157)
OKLCHoklch(53.67% 0.225 315.6)
XYZxyz(24.7304, 13.0632, 52.8379)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EC3 #54C32E
analogous
#532EC3 #9D2EC3 #C32E9F
triadic
#9D2EC3 #C39D2E #2EC39D
tetradic
#9D2EC3 #C3532E #54C32E #2E9FC3
square
#9D2EC3 #C3532E #54C32E #2E9FC3
split-complementary
#9D2EC3 #9FC32E #2EC353
monochromatic
#4D1760 #752291 #9D2EC3 #B757D7 #CC88E3

Accessibility & contrast

On white

5.81
#9D2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9D2EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EC3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EC3#FFFFFF#000000##FFFFFF
##9D2EC31.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2A68C0
Tritanopia (blue-blind)
#9A5078
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2ec3;
/* rgb */ color: rgb(157, 46, 195);
/* oklch */ color: oklch(53.7% 0.225 315.6);
Tailwind
colors: {
  custom: {
    50: '#be73d6',
    500: '#9d2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ec3;
$custom-light: #be73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ec3",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 284.698,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53666,
    "c": 0.22461,
    "h": 315.6
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#9D2EC3
secondary
#94CD80
accent
#E5436C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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