#9D2CAF#9D2CAF

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

Color values

HEX#9D2CAF
RGBrgb(157, 44, 175)
HSLhsl(292, 60%, 43%)
HSVhsv(292, 75%, 69%)
CMYKcmyk(10.3%, 74.9%, 0%, 31.4%)
CIE-LABlab(41.32, 62.43, -46.40)
CIE-LCHlch(41.32, 77.78, 323.38°)
OKLaboklab(52.16% 0.1647 -0.1298)
OKLCHoklch(52.16% 0.21 321.7)
XYZxyz(22.5423, 12.0659, 41.6907)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CAF #3EAF2C
analogous
#5C2CAF #9D2CAF #AF2C7F
triadic
#9D2CAF #AF9D2C #2CAF9D
tetradic
#9D2CAF #AF5C2C #3EAF2C #2C7FAF
square
#9D2CAF #AF5C2C #3EAF2C #2C7FAF
split-complementary
#9D2CAF #7FAF2C #2CAF5C
monochromatic
#45134D #71207E #9D2CAF #BE47D1 #CF78DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2CAF#FFFFFF#000000##FFFFFF
##9D2CAF1.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)
#0059B3
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#9F456C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2caf;
/* rgb */ color: rgb(157, 44, 175);
/* oklch */ color: oklch(52.2% 0.210 321.7);
Tailwind
colors: {
  custom: {
    50: '#be71c7',
    500: '#9d2caf',
    950: '#000000',
  },
}
SCSS
$custom: #9d2caf;
$custom-light: #be71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2caf",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 291.756,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.2097,
    "h": 321.7
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#9D2CAF
secondary
#7DC572
accent
#E3455B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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