#9D2E8F#9D2E8F

#9D2E8F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.182 H 333.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9D2E8F
RGBrgb(157, 46, 143)
HSLhsl(308, 55%, 40%)
HSVhsv(308, 71%, 62%)
CMYKcmyk(0%, 70.7%, 8.9%, 38.4%)
CIE-LABlab(39.76, 56.25, -29.64)
CIE-LCHlch(39.76, 63.58, 332.22°)
OKLaboklab(50.46% 0.1626 -0.0812)
OKLCHoklch(50.46% 0.182 333.5)
XYZxyz(19.8397, 11.1069, 27.0802)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E8F #2E9D3C
analogous
#742E9D #9D2E8F #9D2E57
triadic
#9D2E8F #8F9D2E #2E8F9D
tetradic
#9D2E8F #9D742E #2E9D3C #2E579D
square
#9D2E8F #9D742E #2E9D3C #2E579D
split-complementary
#9D2E8F #579D2E #2E9D74
monochromatic
#3E1239 #6E2064 #9D2E8F #C741B6 #D570C8

Accessibility & contrast

On white

6.52
#9D2E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9D2E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E8F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E8F#FFFFFF#000000##FFFFFF
##9D2E8F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#A4385B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2e8f;
/* rgb */ color: rgb(157, 46, 143);
/* oklch */ color: oklch(50.5% 0.182 333.5);
Tailwind
colors: {
  custom: {
    50: '#bd71b0',
    500: '#9d2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e8f;
$custom-light: #bd71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e8f",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 307.568,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.18175,
    "h": 333.5
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#9D2E8F
secondary
#6ABD75
accent
#DE5C4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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