#951E7C#951E7C

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

Color values

HEX#951E7C
RGBrgb(149, 30, 124)
HSLhsl(313, 66%, 35%)
HSVhsv(313, 80%, 58%)
CMYKcmyk(0%, 79.9%, 16.8%, 41.6%)
CIE-LABlab(35.55, 56.72, -24.61)
CIE-LCHlch(35.55, 61.83, 336.55°)
OKLaboklab(46.85% 0.1683 -0.0668)
OKLCHoklch(46.85% 0.181 338.4)
XYZxyz(16.4972, 8.7750, 19.8898)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E7C #1E9537
analogous
#721E95 #951E7C #951E41
triadic
#951E7C #7C951E #1E7C95
tetradic
#951E7C #95721E #1E9537 #1E4195
square
#951E7C #95721E #1E9537 #1E4195
split-complementary
#951E7C #41951E #1E9572
monochromatic
#2F0927 #621452 #951E7C #C828A6 #DC51BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951E7C#FFFFFF#000000##FFFFFF
##951E7C1.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)
#25487E
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#9E254C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951e7c;
/* rgb */ color: rgb(149, 30, 124);
/* oklch */ color: oklch(46.8% 0.181 338.4);
Tailwind
colors: {
  custom: {
    50: '#b869a2',
    500: '#951e7c',
    950: '#000000',
  },
}
SCSS
$custom: #951e7c;
$custom-light: #b869a2;
$custom-dark: #000000;
JSON
{
  "hex": "#951e7c",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 312.605,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.18109,
    "h": 338.4
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#951E7C
secondary
#50BF67
accent
#E9623E
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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