#9D2EAB#9D2EAB

#9D2EAB is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.204 H 323.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9D2EAB
RGBrgb(157, 46, 171)
HSLhsl(293, 58%, 43%)
HSVhsv(293, 73%, 67%)
CMYKcmyk(8.2%, 73.1%, 0%, 32.9%)
CIE-LABlab(41.32, 61.01, -44.03)
CIE-LCHlch(41.32, 75.24, 324.18°)
OKLaboklab(52.08% 0.1631 -0.1229)
OKLCHoklch(52.08% 0.204 323)
XYZxyz(22.2316, 12.0637, 39.6777)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EAB #3CAB2E
analogous
#5E2EAB #9D2EAB #AB2E7B
triadic
#9D2EAB #AB9D2E #2EAB9D
tetradic
#9D2EAB #AB5E2E #3CAB2E #2E7BAB
square
#9D2EAB #AB5E2E #3CAB2E #2E7BAB
split-complementary
#9D2EAB #7BAB2E #2EAB5E
monochromatic
#44144B #71217B #9D2EAB #BF48CE #D079DB

Accessibility & contrast

On white

6.15
#9D2EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9D2EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EAB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EAB#FFFFFF#000000##FFFFFF
##9D2EAB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#9F456A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2eab;
/* rgb */ color: rgb(157, 46, 171);
/* oklch */ color: oklch(52.1% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#be72c4',
    500: '#9d2eab',
    950: '#000000',
  },
}
SCSS
$custom: #9d2eab;
$custom-light: #be72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2eab",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 293.28,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52081,
    "c": 0.20419,
    "h": 323
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#9D2EAB
secondary
#7BC372
accent
#E14758
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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