#9D2BA9#9D2BA9

#9D2BA9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.206 H 323.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9D2BA9
RGBrgb(157, 43, 169)
HSLhsl(294, 59%, 42%)
HSVhsv(294, 75%, 66%)
CMYKcmyk(7.1%, 74.6%, 0%, 33.7%)
CIE-LABlab(40.84, 61.69, -43.61)
CIE-LCHlch(40.84, 75.55, 324.74°)
OKLaboklab(51.7% 0.166 -0.1217)
OKLCHoklch(51.7% 0.206 323.8)
XYZxyz(21.9293, 11.7618, 38.6436)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BA9 #37A92B
analogous
#5E2BA9 #9D2BA9 #A92B76
triadic
#9D2BA9 #A99D2B #2BA99D
tetradic
#9D2BA9 #A95E2B #37A92B #2B76A9
square
#9D2BA9 #A95E2B #37A92B #2B76A9
split-complementary
#9D2BA9 #76A92B #2BA95E
monochromatic
#421247 #701F78 #9D2BA9 #C242CF #D173DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2BA9#FFFFFF#000000##FFFFFF
##9D2BA91.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)
#0058AC
Deuteranopia (green-blind)
#4265A6
Tritanopia (blue-blind)
#A04268
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ba9;
/* rgb */ color: rgb(157, 43, 169);
/* oklch */ color: oklch(51.7% 0.206 323.8);
Tailwind
colors: {
  custom: {
    50: '#be71c3',
    500: '#9d2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ba9;
$custom-light: #be71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ba9",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 294.286,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.20579,
    "h": 323.8
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#9D2BA9
secondary
#75C36D
accent
#E34554
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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