#9D2FA2#9D2FA2

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

Color values

HEX#9D2FA2
RGBrgb(157, 47, 162)
HSLhsl(297, 55%, 41%)
HSVhsv(297, 71%, 64%)
CMYKcmyk(3.1%, 71%, 0%, 36.5%)
CIE-LABlab(40.91, 59.06, -39.30)
CIE-LCHlch(40.91, 70.94, 326.36°)
OKLaboklab(51.62% 0.1623 -0.1091)
OKLCHoklch(51.62% 0.196 326.1)
XYZxyz(21.4423, 11.8112, 35.3258)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FA2 #34A22F
analogous
#632FA2 #9D2FA2 #A22F6D
triadic
#9D2FA2 #A29D2F #2FA29D
tetradic
#9D2FA2 #A2632F #34A22F #2F6DA2
square
#9D2FA2 #A2632F #34A22F #2F6DA2
split-complementary
#9D2FA2 #6DA22F #2FA263
monochromatic
#411343 #6F2173 #9D2FA2 #C345C9 #D375D7

Accessibility & contrast

On white

6.25
#9D2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9D2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FA2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FA2#FFFFFF#000000##FFFFFF
##9D2FA21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#A14165
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2fa2;
/* rgb */ color: rgb(157, 47, 162);
/* oklch */ color: oklch(51.6% 0.196 326.1);
Tailwind
colors: {
  custom: {
    50: '#bd72be',
    500: '#9d2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fa2;
$custom-light: #bd72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fa2",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 297.391,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.1956,
    "h": 326.1
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#9D2FA2
secondary
#72BF6E
accent
#DE4950
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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