#9D1295#9D1295

#9D1295 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.211 H 331.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9D1295
RGBrgb(157, 18, 149)
HSLhsl(303, 79%, 34%)
HSVhsv(303, 89%, 62%)
CMYKcmyk(0%, 88.5%, 5.1%, 38.4%)
CIE-LABlab(37.43, 64.82, -36.98)
CIE-LCHlch(37.43, 74.63, 330.30°)
OKLaboklab(48.9% 0.185 -0.1022)
OKLCHoklch(48.9% 0.211 331.1)
XYZxyz(19.5458, 9.7723, 29.2848)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1295 #129D1A
analogous
#60129D #9D1295 #9D1250
triadic
#9D1295 #959D12 #12959D
tetradic
#9D1295 #9D6012 #129D1A #12509D
square
#9D1295 #9D6012 #129D1A #12509D
split-complementary
#9D1295 #509D12 #129D60
monochromatic
#2F052D #660C61 #9D1295 #D418C9 #E940DF

Accessibility & contrast

On white

7.11
#9D1295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9D1295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1295
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1295#FFFFFF#000000##FFFFFF
##9D12951.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#465E92
Tritanopia (blue-blind)
#A42A58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1295;
/* rgb */ color: rgb(157, 18, 149);
/* oklch */ color: oklch(48.9% 0.211 331.1);
Tailwind
colors: {
  custom: {
    50: '#be68b4',
    500: '#9d1295',
    950: '#000000',
  },
}
SCSS
$custom: #9d1295;
$custom-light: #be68b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1295",
  "rgb": {
    "r": 157,
    "g": 18,
    "b": 149
  },
  "hsl": {
    "h": 303.453,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.48899,
    "c": 0.21136,
    "h": 331.1
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#9D1295
secondary
#42C94A
accent
#F63D32
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1295

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

Preview Lab → · Contrast checker → · Palette generator →

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