#9D2AC4#9D2AC4

#9D2AC4 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.229 H 315.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9D2AC4
RGBrgb(157, 42, 196)
HSLhsl(285, 65%, 47%)
HSVhsv(285, 79%, 77%)
CMYKcmyk(19.9%, 78.6%, 0%, 23.1%)
CIE-LABlab(42.48, 67.00, -56.89)
CIE-LCHlch(42.48, 87.89, 319.67°)
OKLaboklab(53.42% 0.1637 -0.1605)
OKLCHoklch(53.42% 0.229 315.6)
XYZxyz(24.6948, 12.8105, 53.3857)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AC4 #51C42A
analogous
#502AC4 #9D2AC4 #C42A9E
triadic
#9D2AC4 #C49D2A #2AC49D
tetradic
#9D2AC4 #C4502A #51C42A #2A9EC4
square
#9D2AC4 #C4502A #51C42A #2A9EC4
split-complementary
#9D2AC4 #9EC42A #2AC450
monochromatic
#4C145F #751F92 #9D2AC4 #B751DA #CC84E5

Accessibility & contrast

On white

5.90
#9D2AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9D2AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2AC4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AC4#FFFFFF#000000##FFFFFF
##9D2AC41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#2467C1
Tritanopia (blue-blind)
#9A4E77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2ac4;
/* rgb */ color: rgb(157, 42, 196);
/* oklch */ color: oklch(53.4% 0.229 315.6);
Tailwind
colors: {
  custom: {
    50: '#bf71d7',
    500: '#9d2ac4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ac4;
$custom-light: #bf71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ac4",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 284.805,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53418,
    "c": 0.22929,
    "h": 315.6
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#9D2AC4
secondary
#91CE7C
accent
#E8406B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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