#9D2EC4#9D2EC4

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

Color values

HEX#9D2EC4
RGBrgb(157, 46, 196)
HSLhsl(284, 62%, 47%)
HSVhsv(284, 77%, 77%)
CMYKcmyk(19.9%, 76.5%, 0%, 23.1%)
CIE-LABlab(42.93, 65.70, -56.16)
CIE-LCHlch(42.93, 86.43, 319.48°)
OKLaboklab(53.74% 0.1604 -0.1584)
OKLCHoklch(53.74% 0.225 315.4)
XYZxyz(24.8438, 13.1086, 53.4354)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EC4 #55C42E
analogous
#522EC4 #9D2EC4 #C42EA0
triadic
#9D2EC4 #C49D2E #2EC49D
tetradic
#9D2EC4 #C4522E #55C42E #2EA0C4
square
#9D2EC4 #C4522E #55C42E #2EA0C4
split-complementary
#9D2EC4 #A0C42E #2EC452
monochromatic
#4E1761 #752292 #9D2EC4 #B658D8 #CC89E3

Accessibility & contrast

On white

5.80
#9D2EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D2EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EC4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EC4#FFFFFF#000000##FFFFFF
##9D2EC41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2868C1
Tritanopia (blue-blind)
#9A5078
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2ec4;
/* rgb */ color: rgb(157, 46, 196);
/* oklch */ color: oklch(53.7% 0.225 315.4);
Tailwind
colors: {
  custom: {
    50: '#be73d7',
    500: '#9d2ec4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ec4;
$custom-light: #be73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ec4",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 284.4,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.22548,
    "h": 315.4
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#9D2EC4
secondary
#95CD81
accent
#E5436D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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