#9D2FA3#9D2FA3

#9D2FA3 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.196 H 325.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9D2FA3
RGBrgb(157, 47, 163)
HSLhsl(297, 55%, 41%)
HSVhsv(297, 71%, 64%)
CMYKcmyk(3.7%, 71.2%, 0%, 36.1%)
CIE-LABlab(40.97, 59.23, -39.81)
CIE-LCHlch(40.97, 71.37, 326.10°)
OKLaboklab(51.68% 0.1623 -0.1106)
OKLCHoklch(51.68% 0.196 325.7)
XYZxyz(21.5315, 11.8469, 35.7958)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FA3 #35A32F
analogous
#632FA3 #9D2FA3 #A32F6F
triadic
#9D2FA3 #A39D2F #2FA39D
tetradic
#9D2FA3 #A3632F #35A32F #2F6FA3
square
#9D2FA3 #A3632F #35A32F #2F6FA3
split-complementary
#9D2FA3 #6FA32F #2FA363
monochromatic
#411444 #6F2173 #9D2FA3 #C346CA #D275D7

Accessibility & contrast

On white

6.23
#9D2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9D2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FA3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FA3#FFFFFF#000000##FFFFFF
##9D2FA31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A6
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#A14266
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2fa3;
/* rgb */ color: rgb(157, 47, 163);
/* oklch */ color: oklch(51.7% 0.196 325.7);
Tailwind
colors: {
  custom: {
    50: '#bd72bf',
    500: '#9d2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fa3;
$custom-light: #bd72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fa3",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 296.897,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.19642,
    "h": 325.7
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#9D2FA3
secondary
#73BF6F
accent
#DF4951
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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