#9D2AA2#9D2AA2

#9D2AA2 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.201 H 326.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9D2AA2
RGBrgb(157, 42, 162)
HSLhsl(298, 59%, 40%)
HSVhsv(298, 74%, 64%)
CMYKcmyk(3.1%, 74.1%, 0%, 36.5%)
CIE-LABlab(40.30, 60.80, -40.27)
CIE-LCHlch(40.30, 72.93, 326.48°)
OKLaboklab(51.19% 0.1672 -0.1119)
OKLCHoklch(51.19% 0.201 326.2)
XYZxyz(21.2538, 11.4341, 35.2630)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AA2 #2FA22A
analogous
#612AA2 #9D2AA2 #A22A6B
triadic
#9D2AA2 #A29D2A #2AA29D
tetradic
#9D2AA2 #A2612A #2FA22A #2A6BA2
square
#9D2AA2 #A2612A #2FA22A #2A6BA2
split-complementary
#9D2AA2 #6BA22A #2AA261
monochromatic
#3F1141 #6E1D71 #9D2AA2 #C73DCD #D56DD9

Accessibility & contrast

On white

6.39
#9D2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9D2AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2AA2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AA2#FFFFFF#000000##FFFFFF
##9D2AA21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0656A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#A13E64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d2aa2;
/* rgb */ color: rgb(157, 42, 162);
/* oklch */ color: oklch(51.2% 0.201 326.2);
Tailwind
colors: {
  custom: {
    50: '#be70be',
    500: '#9d2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2aa2;
$custom-light: #be70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2aa2",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 297.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51185,
    "c": 0.2012,
    "h": 326.2
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#9D2AA2
secondary
#6BC068
accent
#E2464C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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