#9D2BA5#9D2BA5

#9D2BA5 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.203 H 325.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9D2BA5
RGBrgb(157, 43, 165)
HSLhsl(296, 59%, 41%)
HSVhsv(296, 74%, 65%)
CMYKcmyk(4.8%, 73.9%, 0%, 35.3%)
CIE-LABlab(40.60, 60.98, -41.60)
CIE-LCHlch(40.60, 73.82, 325.70°)
OKLaboklab(51.45% 0.1662 -0.1158)
OKLCHoklch(51.45% 0.203 325.1)
XYZxyz(21.5595, 11.6139, 36.6962)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BA5 #33A52B
analogous
#602BA5 #9D2BA5 #A52B70
triadic
#9D2BA5 #A59D2B #2BA59D
tetradic
#9D2BA5 #A5602B #33A52B #2B70A5
square
#9D2BA5 #A5602B #33A52B #2B70A5
split-complementary
#9D2BA5 #70A52B #2BA560
monochromatic
#411244 #6F1E74 #9D2BA5 #C440CD #D371DA

Accessibility & contrast

On white

6.32
#9D2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9D2BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BA5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BA5#FFFFFF#000000##FFFFFF
##9D2BA51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4564A2
Tritanopia (blue-blind)
#A14066
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ba5;
/* rgb */ color: rgb(157, 43, 165);
/* oklch */ color: oklch(51.5% 0.203 325.1);
Tailwind
colors: {
  custom: {
    50: '#be70c0',
    500: '#9d2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ba5;
$custom-light: #be70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ba5",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 296.066,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51451,
    "c": 0.20254,
    "h": 325.1
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#9D2BA5
secondary
#70C16B
accent
#E24650
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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