#951F7A#951F7A

#951F7A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.179 H 339.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#951F7A
RGBrgb(149, 31, 122)
HSLhsl(314, 66%, 35%)
HSVhsv(314, 79%, 58%)
CMYKcmyk(0%, 79.2%, 18.1%, 41.6%)
CIE-LABlab(35.55, 56.15, -23.35)
CIE-LCHlch(35.55, 60.81, 337.42°)
OKLaboklab(46.82% 0.1672 -0.0632)
OKLCHoklch(46.82% 0.179 339.3)
XYZxyz(16.3977, 8.7763, 19.2390)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F7A #1F953A
analogous
#751F95 #951F7A #951F3F
triadic
#951F7A #7A951F #1F7A95
tetradic
#951F7A #95751F #1F953A #1F3F95
square
#951F7A #95751F #1F953A #1F3F95
split-complementary
#951F7A #3F951F #1F9575
monochromatic
#300A27 #621451 #951F7A #C82AA3 #DB53BC

Accessibility & contrast

On white

7.62
#951F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#951F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F7A
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F7A#FFFFFF#000000##FFFFFF
##951F7A1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#4F5A77
Tritanopia (blue-blind)
#9E244B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951f7a;
/* rgb */ color: rgb(149, 31, 122);
/* oklch */ color: oklch(46.8% 0.179 339.3);
Tailwind
colors: {
  custom: {
    50: '#b869a0',
    500: '#951f7a',
    950: '#000000',
  },
}
SCSS
$custom: #951f7a;
$custom-light: #b869a0;
$custom-dark: #000000;
JSON
{
  "hex": "#951f7a",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 313.729,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.17878,
    "h": 339.3
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#951F7A
secondary
#51BF6A
accent
#E9663F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951F7A

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

Preview Lab → · Contrast checker → · Palette generator →

#951F7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva