#9D2EA0#9D2EA0

#9D2EA0 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.195 H 326.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9D2EA0
RGBrgb(157, 46, 160)
HSLhsl(298, 55%, 40%)
HSVhsv(298, 71%, 63%)
CMYKcmyk(1.9%, 71.2%, 0%, 37.3%)
CIE-LABlab(40.67, 59.07, -38.48)
CIE-LCHlch(40.67, 70.50, 326.92°)
OKLaboklab(51.41% 0.1633 -0.1067)
OKLCHoklch(51.41% 0.195 326.8)
XYZxyz(21.2264, 11.6616, 34.3838)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EA0 #31A02E
analogous
#642EA0 #9D2EA0 #A02E6A
triadic
#9D2EA0 #A09D2E #2EA09D
tetradic
#9D2EA0 #A0642E #31A02E #2E6AA0
square
#9D2EA0 #A0642E #31A02E #2E6AA0
split-complementary
#9D2EA0 #6AA02E #2EA064
monochromatic
#401341 #6E2070 #9D2EA0 #C542C9 #D472D6

Accessibility & contrast

On white

6.30
#9D2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9D2EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EA0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EA0#FFFFFF#000000##FFFFFF
##9D2EA01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A3
Deuteranopia (green-blind)
#49659D
Tritanopia (blue-blind)
#A14064
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ea0;
/* rgb */ color: rgb(157, 46, 160);
/* oklch */ color: oklch(51.4% 0.195 326.8);
Tailwind
colors: {
  custom: {
    50: '#bd72bc',
    500: '#9d2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ea0;
$custom-light: #bd72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ea0",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 298.421,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.19512,
    "h": 326.8
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#9D2EA0
secondary
#6EBE6C
accent
#DF494D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9D2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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