#9D149E#9D149E

#9D149E is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.217 H 327.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9D149E
RGBrgb(157, 20, 158)
HSLhsl(300, 78%, 35%)
HSVhsv(300, 87%, 62%)
CMYKcmyk(0.6%, 87.3%, 0%, 38%)
CIE-LABlab(38.09, 65.86, -41.39)
CIE-LCHlch(38.09, 77.78, 327.85°)
OKLaboklab(49.54% 0.1835 -0.115)
OKLCHoklch(49.54% 0.217 327.9)
XYZxyz(20.3261, 10.1386, 33.2275)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D149E #159E14
analogous
#58149E #9D149E #9E145A
triadic
#9D149E #9E9D14 #149E9D
tetradic
#9D149E #9E5814 #159E14 #145A9E
square
#9D149E #9E5814 #159E14 #145A9E
split-complementary
#9D149E #5A9E14 #149E58
monochromatic
#310631 #670D68 #9D149E #D31BD4 #E645E7

Accessibility & contrast

On white

6.94
#9D149E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D149E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D149E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D149E#FFFFFF#000000##FFFFFF
##9D149E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#A2315D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d149e;
/* rgb */ color: rgb(157, 20, 158);
/* oklch */ color: oklch(49.5% 0.217 327.9);
Tailwind
colors: {
  custom: {
    50: '#be69bb',
    500: '#9d149e',
    950: '#000000',
  },
}
SCSS
$custom: #9d149e;
$custom-light: #be69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d149e",
  "rgb": {
    "r": 157,
    "g": 20,
    "b": 158
  },
  "hsl": {
    "h": 299.565,
    "s": 77.528,
    "l": 34.902
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.21654,
    "h": 327.9
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#9D149E
secondary
#47C846
accent
#F43435
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9D149E

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

Preview Lab → · Contrast checker → · Palette generator →

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