#9D2AC3#9D2AC3

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

Color values

HEX#9D2AC3
RGBrgb(157, 42, 195)
HSLhsl(285, 65%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(19.5%, 78.5%, 0%, 23.5%)
CIE-LABlab(42.41, 66.81, -56.41)
CIE-LCHlch(42.41, 87.44, 319.82°)
OKLaboklab(53.35% 0.1639 -0.1592)
OKLCHoklch(53.35% 0.228 315.8)
XYZxyz(24.5814, 12.7651, 52.7883)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AC3 #50C32A
analogous
#512AC3 #9D2AC3 #C32A9D
triadic
#9D2AC3 #C39D2A #2AC39D
tetradic
#9D2AC3 #C3512A #50C32A #2A9DC3
square
#9D2AC3 #C3512A #50C32A #2A9DC3
split-complementary
#9D2AC3 #9DC32A #2AC351
monochromatic
#4C145E #741F91 #9D2AC3 #B851D9 #CC83E4

Accessibility & contrast

On white

5.91
#9D2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9D2AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2AC3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AC3#FFFFFF#000000##FFFFFF
##9D2AC31.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#2667C0
Tritanopia (blue-blind)
#9A4E77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2ac3;
/* rgb */ color: rgb(157, 42, 195);
/* oklch */ color: oklch(53.3% 0.228 315.8);
Tailwind
colors: {
  custom: {
    50: '#bf71d6',
    500: '#9d2ac3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ac3;
$custom-light: #bf71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ac3",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 285.098,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.22845,
    "h": 315.8
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#9D2AC3
secondary
#90CD7B
accent
#E8406A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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