#9D1296#9D1296

#9D1296 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.212 H 330.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D1296
RGBrgb(157, 18, 150)
HSLhsl(303, 79%, 34%)
HSVhsv(303, 89%, 62%)
CMYKcmyk(0%, 88.5%, 4.5%, 38.4%)
CIE-LABlab(37.49, 64.97, -37.49)
CIE-LCHlch(37.49, 75.02, 330.01°)
OKLaboklab(48.96% 0.185 -0.1037)
OKLCHoklch(48.96% 0.212 330.7)
XYZxyz(19.6259, 9.8044, 29.7070)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1296 #129D19
analogous
#5F129D #9D1296 #9D1250
triadic
#9D1296 #969D12 #12969D
tetradic
#9D1296 #9D5F12 #129D19 #12509D
square
#9D1296 #9D5F12 #129D19 #12509D
split-complementary
#9D1296 #509D12 #129D5F
monochromatic
#2F052D #660C62 #9D1296 #D418CA #E940E1

Accessibility & contrast

On white

7.09
#9D1296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D1296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1296
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1296#FFFFFF#000000##FFFFFF
##9D12961.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#455E93
Tritanopia (blue-blind)
#A32B58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1296;
/* rgb */ color: rgb(157, 18, 150);
/* oklch */ color: oklch(49.0% 0.212 330.7);
Tailwind
colors: {
  custom: {
    50: '#be68b5',
    500: '#9d1296',
    950: '#000000',
  },
}
SCSS
$custom: #9d1296;
$custom-light: #be68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1296",
  "rgb": {
    "r": 157,
    "g": 18,
    "b": 150
  },
  "hsl": {
    "h": 303.022,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.21206,
    "h": 330.7
  },
  "luminance": 0.09803
}

Semantic roles & 50–950 ramp

primary
#9D1296
secondary
#42C949
accent
#F63C32
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1296

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

Preview Lab → · Contrast checker → · Palette generator →

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