#951F7F#951F7F

#951F7F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.182 H 337.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#951F7F
RGBrgb(149, 31, 127)
HSLhsl(311, 66%, 35%)
HSVhsv(311, 79%, 58%)
CMYKcmyk(0%, 79.2%, 14.8%, 41.6%)
CIE-LABlab(35.80, 56.87, -26.09)
CIE-LCHlch(35.80, 62.56, 335.36°)
OKLaboklab(47.08% 0.1678 -0.071)
OKLCHoklch(47.08% 0.182 337)
XYZxyz(16.7155, 8.9034, 20.9128)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F7F #1F9535
analogous
#701F95 #951F7F #951F44
triadic
#951F7F #7F951F #1F7F95
tetradic
#951F7F #95701F #1F9535 #1F4495
square
#951F7F #95701F #1F9535 #1F4495
split-complementary
#951F7F #44951F #1F9570
monochromatic
#300A29 #621454 #951F7F #C82AAA #DB53C2

Accessibility & contrast

On white

7.55
#951F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#951F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F7F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F7F#FFFFFF#000000##FFFFFF
##951F7F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#4D5B7C
Tritanopia (blue-blind)
#9D274E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951f7f;
/* rgb */ color: rgb(149, 31, 127);
/* oklch */ color: oklch(47.1% 0.182 337.0);
Tailwind
colors: {
  custom: {
    50: '#b869a4',
    500: '#951f7f',
    950: '#000000',
  },
}
SCSS
$custom: #951f7f;
$custom-light: #b869a4;
$custom-dark: #000000;
JSON
{
  "hex": "#951f7f",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 311.186,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.18217,
    "h": 337
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#951F7F
secondary
#51BF66
accent
#E95F3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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