#951F7C#951F7C

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

Color values

HEX#951F7C
RGBrgb(149, 31, 124)
HSLhsl(313, 66%, 35%)
HSVhsv(313, 79%, 58%)
CMYKcmyk(0%, 79.2%, 16.8%, 41.6%)
CIE-LABlab(35.65, 56.43, -24.45)
CIE-LCHlch(35.65, 61.50, 336.58°)
OKLaboklab(46.92% 0.1674 -0.0664)
OKLCHoklch(46.92% 0.18 338.4)
XYZxyz(16.5229, 8.8264, 19.8984)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F7C #1F9538
analogous
#731F95 #951F7C #951F41
triadic
#951F7C #7C951F #1F7C95
tetradic
#951F7C #95731F #1F9538 #1F4195
square
#951F7C #95731F #1F9538 #1F4195
split-complementary
#951F7C #41951F #1F9573
monochromatic
#300A28 #621452 #951F7C #C82AA6 #DB53BE

Accessibility & contrast

On white

7.59
#951F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#951F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F7C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F7C#FFFFFF#000000##FFFFFF
##951F7C1.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.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: #951f7c;
/* rgb */ color: rgb(149, 31, 124);
/* oklch */ color: oklch(46.9% 0.180 338.4);
Tailwind
colors: {
  custom: {
    50: '#b869a2',
    500: '#951f7c',
    950: '#000000',
  },
}
SCSS
$custom: #951f7c;
$custom-light: #b869a2;
$custom-dark: #000000;
JSON
{
  "hex": "#951f7c",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 312.712,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46918,
    "c": 0.18012,
    "h": 338.4
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#951F7C
secondary
#51BF68
accent
#E9633F
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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