#9D2E92#9D2E92

#9D2E92 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.184 H 332.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9D2E92
RGBrgb(157, 46, 146)
HSLhsl(306, 55%, 40%)
HSVhsv(306, 71%, 62%)
CMYKcmyk(0%, 70.7%, 7%, 38.4%)
CIE-LABlab(39.91, 56.73, -31.22)
CIE-LCHlch(39.91, 64.76, 331.17°)
OKLaboklab(50.62% 0.1629 -0.0857)
OKLCHoklch(50.62% 0.184 332.2)
XYZxyz(20.0700, 11.1990, 28.2931)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E92 #2E9D39
analogous
#712E9D #9D2E92 #9D2E5B
triadic
#9D2E92 #929D2E #2E929D
tetradic
#9D2E92 #9D712E #2E9D39 #2E5B9D
square
#9D2E92 #9D712E #2E9D39 #2E5B9D
split-complementary
#9D2E92 #5B9D2E #2E9D71
monochromatic
#3E123A #6E2066 #9D2E92 #C741BA #D570CB

Accessibility & contrast

On white

6.48
#9D2E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D2E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E92
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E92#FFFFFF#000000##FFFFFF
##9D2E921.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#51648F
Tritanopia (blue-blind)
#A4395C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2e92;
/* rgb */ color: rgb(157, 46, 146);
/* oklch */ color: oklch(50.6% 0.184 332.2);
Tailwind
colors: {
  custom: {
    50: '#bd71b2',
    500: '#9d2e92',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e92;
$custom-light: #bd71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e92",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 305.946,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50621,
    "c": 0.18404,
    "h": 332.2
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#9D2E92
secondary
#6ABD72
accent
#DE584A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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