#9D2AC7#9D2AC7

#9D2AC7 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.232 H 314.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9D2AC7
RGBrgb(157, 42, 199)
HSLhsl(284, 65%, 47%)
HSVhsv(284, 79%, 78%)
CMYKcmyk(21.1%, 78.9%, 0%, 22%)
CIE-LABlab(42.69, 67.57, -58.29)
CIE-LCHlch(42.69, 89.24, 319.22°)
OKLaboklab(53.63% 0.1632 -0.1647)
OKLCHoklch(53.63% 0.232 314.7)
XYZxyz(25.0397, 12.9485, 55.2021)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AC7 #54C72A
analogous
#4F2AC7 #9D2AC7 #C72AA3
triadic
#9D2AC7 #C79D2A #2AC79D
tetradic
#9D2AC7 #C74F2A #54C72A #2AA3C7
square
#9D2AC7 #C74F2A #54C72A #2AA3C7
split-complementary
#9D2AC7 #A3C72A #2AC74F
monochromatic
#4D1562 #751F94 #9D2AC7 #B753DB #CC86E5

Accessibility & contrast

On white

5.85
#9D2AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2AC7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AC7#FFFFFF#000000##FFFFFF
##9D2AC71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#1F68C4
Tritanopia (blue-blind)
#995079
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2ac7;
/* rgb */ color: rgb(157, 42, 199);
/* oklch */ color: oklch(53.6% 0.232 314.7);
Tailwind
colors: {
  custom: {
    50: '#bf72d9',
    500: '#9d2ac7',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ac7;
$custom-light: #bf72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ac7",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 283.949,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.23183,
    "h": 314.7
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#9D2AC7
secondary
#94CF7E
accent
#E8406D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D2AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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