#9D2BA3#9D2BA3

#9D2BA3 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.201 H 325.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9D2BA3
RGBrgb(157, 43, 163)
HSLhsl(297, 58%, 40%)
HSVhsv(297, 74%, 64%)
CMYKcmyk(3.7%, 73.6%, 0%, 36.1%)
CIE-LABlab(40.48, 60.64, -40.59)
CIE-LCHlch(40.48, 72.97, 326.20°)
OKLaboklab(51.33% 0.1662 -0.1129)
OKLCHoklch(51.33% 0.201 325.8)
XYZxyz(21.3789, 11.5416, 35.7449)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2BA3 #31A32B
analogous
#612BA3 #9D2BA3 #A32B6D
triadic
#9D2BA3 #A39D2B #2BA39D
tetradic
#9D2BA3 #A3612B #31A32B #2B6DA3
square
#9D2BA3 #A3612B #31A32B #2B6DA3
split-complementary
#9D2BA3 #6DA32B #2BA361
monochromatic
#401142 #6E1E73 #9D2BA3 #C53FCC #D46FD9

Accessibility & contrast

On white

6.35
#9D2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9D2BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2BA3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2BA3#FFFFFF#000000##FFFFFF
##9D2BA31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0656A6
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#A13F65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d2ba3;
/* rgb */ color: rgb(157, 43, 163);
/* oklch */ color: oklch(51.3% 0.201 325.8);
Tailwind
colors: {
  custom: {
    50: '#be70bf',
    500: '#9d2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2ba3;
$custom-light: #be70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2ba3",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 297,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51329,
    "c": 0.20092,
    "h": 325.8
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#9D2BA3
secondary
#6EC06A
accent
#E1464E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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