#9D2AAF#9D2AAF

#9D2AAF is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.212 H 321.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9D2AAF
RGBrgb(157, 42, 175)
HSLhsl(292, 61%, 43%)
HSVhsv(292, 76%, 69%)
CMYKcmyk(10.3%, 76%, 0%, 31.4%)
CIE-LABlab(41.09, 63.09, -46.77)
CIE-LCHlch(41.09, 78.54, 323.45°)
OKLaboklab(52% 0.1664 -0.1309)
OKLCHoklch(52% 0.212 321.8)
XYZxyz(22.4696, 11.9204, 41.6665)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AAF #3CAF2A
analogous
#5B2AAF #9D2AAF #AF2A7E
triadic
#9D2AAF #AF9D2A #2AAF9D
tetradic
#9D2AAF #AF5B2A #3CAF2A #2A7EAF
square
#9D2AAF #AF5B2A #3CAF2A #2A7EAF
split-complementary
#9D2AAF #7EAF2A #2AAF5B
monochromatic
#44124C #711E7E #9D2AAF #BF44D2 #D075DE

Accessibility & contrast

On white

6.21
#9D2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9D2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2AAF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AAF#FFFFFF#000000##FFFFFF
##9D2AAF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#9F446B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2aaf;
/* rgb */ color: rgb(157, 42, 175);
/* oklch */ color: oklch(52.0% 0.212 321.8);
Tailwind
colors: {
  custom: {
    50: '#be70c7',
    500: '#9d2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #9d2aaf;
$custom-light: #be70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2aaf",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 291.88,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.21176,
    "h": 321.8
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#9D2AAF
secondary
#7BC66F
accent
#E44359
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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