#9D2EAA#9D2EAA

#9D2EAA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.203 H 323.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9D2EAA
RGBrgb(157, 46, 170)
HSLhsl(294, 57%, 42%)
HSVhsv(294, 73%, 67%)
CMYKcmyk(7.6%, 72.9%, 0%, 33.3%)
CIE-LABlab(41.26, 60.83, -43.53)
CIE-LCHlch(41.26, 74.80, 324.41°)
OKLaboklab(52.02% 0.1631 -0.1215)
OKLCHoklch(52.02% 0.203 323.3)
XYZxyz(22.1366, 12.0257, 39.1776)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EAA #3BAA2E
analogous
#5F2EAA #9D2EAA #AA2E79
triadic
#9D2EAA #AA9D2E #2EAA9D
tetradic
#9D2EAA #AA5F2E #3BAA2E #2E79AA
square
#9D2EAA #AA5F2E #3BAA2E #2E79AA
split-complementary
#9D2EAA #79AA2E #2EAA5F
monochromatic
#44144A #71217A #9D2EAA #BF48CD #D078DA

Accessibility & contrast

On white

6.17
#9D2EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9D2EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EAA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EAA#FFFFFF#000000##FFFFFF
##9D2EAA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#A04469
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2eaa;
/* rgb */ color: rgb(157, 46, 170);
/* oklch */ color: oklch(52.0% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#be72c4',
    500: '#9d2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9d2eaa;
$custom-light: #be72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2eaa",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 293.71,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.20337,
    "h": 323.3
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#9D2EAA
secondary
#7AC371
accent
#E14757
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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