#9D2ED3#9D2ED3

#9D2ED3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.239 H 311.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9D2ED3
RGBrgb(157, 46, 211)
HSLhsl(280, 65%, 50%)
HSVhsv(280, 78%, 83%)
CMYKcmyk(25.6%, 78.2%, 0%, 17.3%)
CIE-LABlab(43.98, 68.66, -63.13)
CIE-LCHlch(43.98, 93.28, 317.40°)
OKLaboklab(54.81% 0.1577 -0.1789)
OKLCHoklch(54.81% 0.239 311.4)
XYZxyz(26.6373, 13.8259, 62.8809)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2ED3 #64D32E
analogous
#4B2ED3 #9D2ED3 #D32EB6
triadic
#9D2ED3 #D39D2E #2ED39D
tetradic
#9D2ED3 #D34B2E #64D32E #2EB6D3
square
#9D2ED3 #D34B2E #64D32E #2EB6D3
split-complementary
#9D2ED3 #B6D32E #2ED34B
monochromatic
#52176F #7822A2 #9D2ED3 #B561DE #CC93E8

Accessibility & contrast

On white

5.58
#9D2ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9D2ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2ED3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2ED3#FFFFFF#000000##FFFFFF
##9D2ED31.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#965781
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d2ed3;
/* rgb */ color: rgb(157, 46, 211);
/* oklch */ color: oklch(54.8% 0.239 311.4);
Tailwind
colors: {
  custom: {
    50: '#bf74e1',
    500: '#9d2ed3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ed3;
$custom-light: #bf74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ed3",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 280.364,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.23851,
    "h": 311.4
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#9D2ED3
secondary
#A2D38A
accent
#E84077
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D2ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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