#95317F#95317F

#95317F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.161 H 337.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#95317F
RGBrgb(149, 49, 127)
HSLhsl(313, 51%, 39%)
HSVhsv(313, 67%, 58%)
CMYKcmyk(0%, 67.1%, 14.8%, 41.6%)
CIE-LABlab(38.06, 50.49, -22.56)
CIE-LCHlch(38.06, 55.30, 335.92°)
OKLaboklab(48.71% 0.1487 -0.0611)
OKLCHoklch(48.71% 0.161 337.6)
XYZxyz(17.3238, 10.1200, 21.1155)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95317F #319547
analogous
#793195 #95317F #95314D
triadic
#95317F #7F9531 #317F95
tetradic
#95317F #957931 #319547 #314D95
square
#95317F #957931 #319547 #314D95
split-complementary
#95317F #4D9531 #319579
monochromatic
#391330 #672258 #95317F #C142A5 #D070BB

Accessibility & contrast

On white

6.95
#95317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#95317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #95317F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95317F#FFFFFF#000000##FFFFFF
##95317F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#545F7D
Tritanopia (blue-blind)
#9D3653
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #95317f;
/* rgb */ color: rgb(149, 49, 127);
/* oklch */ color: oklch(48.7% 0.161 337.6);
Tailwind
colors: {
  custom: {
    50: '#b771a4',
    500: '#95317f',
    950: '#000000',
  },
}
SCSS
$custom: #95317f;
$custom-light: #b771a4;
$custom-dark: #000000;
JSON
{
  "hex": "#95317f",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 313.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.16075,
    "h": 337.6
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#95317F
secondary
#6AB87B
accent
#DA6D4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #95317F

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

Preview Lab → · Contrast checker → · Palette generator →

#95317F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva