#9D2BA6#9D2BA6

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

Color values

HEX#9D2BA6
RGBrgb(157, 43, 166)
HSLhsl(296, 59%, 41%)
HSVhsv(296, 74%, 65%)
CMYKcmyk(5.4%, 74.1%, 0%, 34.9%)
CIE-LABlab(40.66, 61.16, -42.11)
CIE-LCHlch(40.66, 74.25, 325.45°)
OKLaboklab(51.51% 0.1661 -0.1173)
OKLCHoklch(51.51% 0.203 324.8)
XYZxyz(21.6509, 11.6504, 37.1774)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BA6 #34A62B
analogous
#5F2BA6 #9D2BA6 #A62B71
triadic
#9D2BA6 #A69D2B #2BA69D
tetradic
#9D2BA6 #A65F2B #34A62B #2B71A6
square
#9D2BA6 #A65F2B #34A62B #2B71A6
split-complementary
#9D2BA6 #71A62B #2BA65F
monochromatic
#411245 #6F1E75 #9D2BA6 #C341CE #D371DA

Accessibility & contrast

On white

6.31
#9D2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2BA6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BA6#FFFFFF#000000##FFFFFF
##9D2BA61.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4464A3
Tritanopia (blue-blind)
#A04166
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2ba6;
/* rgb */ color: rgb(157, 43, 166);
/* oklch */ color: oklch(51.5% 0.203 324.8);
Tailwind
colors: {
  custom: {
    50: '#be71c1',
    500: '#9d2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ba6;
$custom-light: #be71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ba6",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 295.61,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.20336,
    "h": 324.8
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#9D2BA6
secondary
#72C16B
accent
#E24651
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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