#9D2EA3#9D2EA3

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

Color values

HEX#9D2EA3
RGBrgb(157, 46, 163)
HSLhsl(297, 56%, 41%)
HSVhsv(297, 72%, 64%)
CMYKcmyk(3.7%, 71.8%, 0%, 36.1%)
CIE-LABlab(40.84, 59.59, -40.01)
CIE-LCHlch(40.84, 71.78, 326.12°)
OKLaboklab(51.59% 0.1633 -0.1112)
OKLCHoklch(51.59% 0.198 325.8)
XYZxyz(21.4920, 11.7678, 35.7826)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EA3 #34A32E
analogous
#622EA3 #9D2EA3 #A32E6E
triadic
#9D2EA3 #A39D2E #2EA39D
tetradic
#9D2EA3 #A3622E #34A32E #2E6EA3
square
#9D2EA3 #A3622E #34A32E #2E6EA3
split-complementary
#9D2EA3 #6EA32E #2EA362
monochromatic
#411344 #6F2173 #9D2EA3 #C344CA #D374D8

Accessibility & contrast

On white

6.26
#9D2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9D2EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EA3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EA3#FFFFFF#000000##FFFFFF
##9D2EA31.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1057A6
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#A14166
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ea3;
/* rgb */ color: rgb(157, 46, 163);
/* oklch */ color: oklch(51.6% 0.198 325.8);
Tailwind
colors: {
  custom: {
    50: '#bd72bf',
    500: '#9d2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ea3;
$custom-light: #bd72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ea3",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 296.923,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.19758,
    "h": 325.8
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#9D2EA3
secondary
#72BF6D
accent
#DF4950
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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