#9D2EAC#9D2EAC

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

Color values

HEX#9D2EAC
RGBrgb(157, 46, 172)
HSLhsl(293, 58%, 43%)
HSVhsv(293, 73%, 67%)
CMYKcmyk(8.7%, 73.3%, 0%, 32.5%)
CIE-LABlab(41.38, 61.19, -44.53)
CIE-LCHlch(41.38, 75.68, 323.96°)
OKLaboklab(52.14% 0.163 -0.1244)
OKLCHoklch(52.14% 0.205 322.7)
XYZxyz(22.3273, 12.1019, 40.1816)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EAC #3DAC2E
analogous
#5E2EAC #9D2EAC #AC2E7C
triadic
#9D2EAC #AC9D2E #2EAC9D
tetradic
#9D2EAC #AC5E2E #3DAC2E #2E7CAC
square
#9D2EAC #AC5E2E #3DAC2E #2E7CAC
split-complementary
#9D2EAC #7CAC2E #2EAC5E
monochromatic
#45144B #71217C #9D2EAC #BE49CE #D079DB

Accessibility & contrast

On white

6.14
#9D2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9D2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2EAC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2EAC#FFFFFF#000000##FFFFFF
##9D2EAC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#9F456B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2eac;
/* rgb */ color: rgb(157, 46, 172);
/* oklch */ color: oklch(52.1% 0.205 322.7);
Tailwind
colors: {
  custom: {
    50: '#be72c5',
    500: '#9d2eac',
    950: '#000000',
  },
}
SCSS
$custom: #9d2eac;
$custom-light: #be72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2eac",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 292.857,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.20503,
    "h": 322.7
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#9D2EAC
secondary
#7CC372
accent
#E14759
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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