#9D2AC1#9D2AC1

#9D2AC1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.227 H 316.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9D2AC1
RGBrgb(157, 42, 193)
HSLhsl(286, 64%, 46%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(18.7%, 78.2%, 0%, 24.3%)
CIE-LABlab(42.27, 66.42, -55.47)
CIE-LCHlch(42.27, 86.54, 320.14°)
OKLaboklab(53.21% 0.1642 -0.1564)
OKLCHoklch(53.21% 0.227 316.4)
XYZxyz(24.3567, 12.6753, 51.6053)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AC1 #4EC12A
analogous
#512AC1 #9D2AC1 #C12A99
triadic
#9D2AC1 #C19D2A #2AC19D
tetradic
#9D2AC1 #C1512A #4EC12A #2A99C1
square
#9D2AC1 #C1512A #4EC12A #2A99C1
split-complementary
#9D2AC1 #99C12A #2AC151
monochromatic
#4B145C #741F8F #9D2AC1 #B84FD9 #CC82E4

Accessibility & contrast

On white

5.94
#9D2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9D2AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2AC1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AC1#FFFFFF#000000##FFFFFF
##9D2AC11.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#2967BE
Tritanopia (blue-blind)
#9B4D76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2ac1;
/* rgb */ color: rgb(157, 42, 193);
/* oklch */ color: oklch(53.2% 0.227 316.4);
Tailwind
colors: {
  custom: {
    50: '#be71d4',
    500: '#9d2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ac1;
$custom-light: #be71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ac1",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 285.695,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.22676,
    "h": 316.4
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#9D2AC1
secondary
#8ECD7A
accent
#E74168
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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