#9D2FAA#9D2FAA

#9D2FAA is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.202 H 323.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9D2FAA
RGBrgb(157, 47, 170)
HSLhsl(294, 57%, 43%)
HSVhsv(294, 72%, 67%)
CMYKcmyk(7.6%, 72.4%, 0%, 33.3%)
CIE-LABlab(41.38, 60.48, -43.33)
CIE-LCHlch(41.38, 74.40, 324.38°)
OKLaboklab(52.11% 0.1621 -0.1209)
OKLCHoklch(52.11% 0.202 323.3)
XYZxyz(22.1762, 12.1047, 39.1908)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FAA #3CAA2F
analogous
#602FAA #9D2FAA #AA2F79
triadic
#9D2FAA #AA9D2F #2FAA9D
tetradic
#9D2FAA #AA602F #3CAA2F #2F79AA
square
#9D2FAA #AA602F #3CAA2F #2F79AA
split-complementary
#9D2FAA #79AA2F #2FAA60
monochromatic
#44144A #71227A #9D2FAA #BF49CD #D079DA

Accessibility & contrast

On white

6.14
#9D2FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9D2FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FAA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FAA#FFFFFF#000000##FFFFFF
##9D2FAA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#A0456A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2faa;
/* rgb */ color: rgb(157, 47, 170);
/* oklch */ color: oklch(52.1% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#be72c4',
    500: '#9d2faa',
    950: '#000000',
  },
}
SCSS
$custom: #9d2faa;
$custom-light: #be72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2faa",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 293.659,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.20223,
    "h": 323.3
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#9D2FAA
secondary
#7BC272
accent
#E04858
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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