#9D2AC2#9D2AC2

#9D2AC2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.228 H 316.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9D2AC2
RGBrgb(157, 42, 194)
HSLhsl(285, 64%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(19.1%, 78.4%, 0%, 23.9%)
CIE-LABlab(42.34, 66.61, -55.94)
CIE-LCHlch(42.34, 86.99, 319.98°)
OKLaboklab(53.28% 0.164 -0.1578)
OKLCHoklch(53.28% 0.228 316.1)
XYZxyz(24.4687, 12.7201, 52.1948)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AC2 #4FC22A
analogous
#512AC2 #9D2AC2 #C22A9B
triadic
#9D2AC2 #C29D2A #2AC29D
tetradic
#9D2AC2 #C2512A #4FC22A #2A9BC2
square
#9D2AC2 #C2512A #4FC22A #2A9BC2
split-complementary
#9D2AC2 #9BC22A #2AC251
monochromatic
#4C145D #741F90 #9D2AC2 #B850D9 #CC82E4

Accessibility & contrast

On white

5.93
#9D2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9D2AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2AC2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AC2#FFFFFF#000000##FFFFFF
##9D2AC21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#2867BF
Tritanopia (blue-blind)
#9A4D76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2ac2;
/* rgb */ color: rgb(157, 42, 194);
/* oklch */ color: oklch(53.3% 0.228 316.1);
Tailwind
colors: {
  custom: {
    50: '#bf71d5',
    500: '#9d2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ac2;
$custom-light: #bf71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ac2",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 285.395,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53278,
    "c": 0.2276,
    "h": 316.1
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#9D2AC2
secondary
#8FCD7B
accent
#E74069
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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