#951C7F#951C7F

#951C7F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.185 H 337.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#951C7F
RGBrgb(149, 28, 127)
HSLhsl(311, 68%, 35%)
HSVhsv(311, 81%, 58%)
CMYKcmyk(0%, 81.2%, 14.8%, 41.6%)
CIE-LABlab(35.51, 57.70, -26.54)
CIE-LCHlch(35.51, 63.52, 335.30°)
OKLaboklab(46.87% 0.1703 -0.0723)
OKLCHoklch(46.87% 0.185 337)
XYZxyz(16.6408, 8.7540, 20.8879)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C7F #1C9532
analogous
#6F1C95 #951C7F #951C43
triadic
#951C7F #7F951C #1C7F95
tetradic
#951C7F #956F1C #1C9532 #1C4395
square
#951C7F #956F1C #1C9532 #1C4395
split-complementary
#951C7F #43951C #1C956F
monochromatic
#2E0927 #611253 #951C7F #C926AB #DE4EC4

Accessibility & contrast

On white

7.64
#951C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951C7F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C7F#FFFFFF#000000##FFFFFF
##951C7F1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204882
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9D254D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #951c7f;
/* rgb */ color: rgb(149, 28, 127);
/* oklch */ color: oklch(46.9% 0.185 337.0);
Tailwind
colors: {
  custom: {
    50: '#b868a4',
    500: '#951c7f',
    950: '#000000',
  },
}
SCSS
$custom: #951c7f;
$custom-light: #b868a4;
$custom-dark: #000000;
JSON
{
  "hex": "#951c7f",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 310.909,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.18498,
    "h": 337
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#951C7F
secondary
#4DC062
accent
#EB5C3D
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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