#951F7E#951F7E

#951F7E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.181 H 337.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#951F7E
RGBrgb(149, 31, 126)
HSLhsl(312, 66%, 35%)
HSVhsv(312, 79%, 58%)
CMYKcmyk(0%, 79.2%, 15.4%, 41.6%)
CIE-LABlab(35.75, 56.72, -25.54)
CIE-LCHlch(35.75, 62.21, 335.76°)
OKLaboklab(47.02% 0.1677 -0.0695)
OKLCHoklch(47.02% 0.181 337.5)
XYZxyz(16.6507, 8.8775, 20.5712)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F7E #1F9536
analogous
#711F95 #951F7E #951F43
triadic
#951F7E #7E951F #1F7E95
tetradic
#951F7E #95711F #1F9536 #1F4395
square
#951F7E #95711F #1F9536 #1F4395
split-complementary
#951F7E #43951F #1F9571
monochromatic
#300A28 #621453 #951F7E #C82AA9 #DB53C1

Accessibility & contrast

On white

7.57
#951F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F7E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F7E#FFFFFF#000000##FFFFFF
##951F7E1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244980
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#9D274D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951f7e;
/* rgb */ color: rgb(149, 31, 126);
/* oklch */ color: oklch(47.0% 0.181 337.5);
Tailwind
colors: {
  custom: {
    50: '#b869a3',
    500: '#951f7e',
    950: '#000000',
  },
}
SCSS
$custom: #951f7e;
$custom-light: #b869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#951f7e",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 311.695,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47022,
    "c": 0.18148,
    "h": 337.5
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#951F7E
secondary
#51BF67
accent
#E9603F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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