#9D2EC6#9D2EC6

#9D2EC6 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.227 H 314.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9D2EC6
RGBrgb(157, 46, 198)
HSLhsl(284, 62%, 48%)
HSVhsv(284, 77%, 78%)
CMYKcmyk(20.7%, 76.8%, 0%, 22.4%)
CIE-LABlab(43.06, 66.09, -57.10)
CIE-LCHlch(43.06, 87.34, 319.17°)
OKLaboklab(53.87% 0.1601 -0.1612)
OKLCHoklch(53.87% 0.227 314.8)
XYZxyz(25.0730, 13.2002, 54.6423)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EC6 #57C62E
analogous
#512EC6 #9D2EC6 #C62EA3
triadic
#9D2EC6 #C69D2E #2EC69D
tetradic
#9D2EC6 #C6512E #57C62E #2EA3C6
square
#9D2EC6 #C6512E #57C62E #2EA3C6
split-complementary
#9D2EC6 #A3C62E #2EC651
monochromatic
#4E1763 #762294 #9D2EC6 #B659D8 #CC8AE4

Accessibility & contrast

On white

5.77
#9D2EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9D2EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EC6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EC6#FFFFFF#000000##FFFFFF
##9D2EC61.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#2568C3
Tritanopia (blue-blind)
#995179
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d2ec6;
/* rgb */ color: rgb(157, 46, 198);
/* oklch */ color: oklch(53.9% 0.227 314.8);
Tailwind
colors: {
  custom: {
    50: '#bf73d8',
    500: '#9d2ec6',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ec6;
$custom-light: #bf73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ec6",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 198
  },
  "hsl": {
    "h": 283.816,
    "s": 62.295,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.22721,
    "h": 314.8
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#9D2EC6
secondary
#96CE82
accent
#E5426E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130915
muted
#827B83

Preview Lab

Preview with #9D2EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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