#9D2EC0#9D2EC0

#9D2EC0 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.222 H 316.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9D2EC0
RGBrgb(157, 46, 192)
HSLhsl(286, 61%, 47%)
HSVhsv(286, 76%, 75%)
CMYKcmyk(18.2%, 76%, 0%, 24.7%)
CIE-LABlab(42.66, 64.92, -54.26)
CIE-LCHlch(42.66, 84.61, 320.11°)
OKLaboklab(53.46% 0.161 -0.1529)
OKLCHoklch(53.46% 0.222 316.5)
XYZxyz(24.3946, 12.9289, 51.0695)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EC0 #51C02E
analogous
#542EC0 #9D2EC0 #C02E9A
triadic
#9D2EC0 #C09D2E #2EC09D
tetradic
#9D2EC0 #C0542E #51C02E #2E9AC0
square
#9D2EC0 #C0542E #51C02E #2E9AC0
split-complementary
#9D2EC0 #9AC02E #2EC054
monochromatic
#4C165D #75228F #9D2EC0 #B755D6 #CC86E2

Accessibility & contrast

On white

5.86
#9D2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D2EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EC0
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EC0#FFFFFF#000000##FFFFFF
##9D2EC01.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#2E68BD
Tritanopia (blue-blind)
#9B4E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2ec0;
/* rgb */ color: rgb(157, 46, 192);
/* oklch */ color: oklch(53.5% 0.222 316.5);
Tailwind
colors: {
  custom: {
    50: '#be73d4',
    500: '#9d2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ec0;
$custom-light: #be73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ec0",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 285.616,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53458,
    "c": 0.22203,
    "h": 316.5
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#9D2EC0
secondary
#91CC7E
accent
#E4436A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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