#951F7B#951F7B

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

Color values

HEX#951F7B
RGBrgb(149, 31, 123)
HSLhsl(313, 66%, 35%)
HSVhsv(313, 79%, 58%)
CMYKcmyk(0%, 79.2%, 17.4%, 41.6%)
CIE-LABlab(35.60, 56.29, -23.90)
CIE-LCHlch(35.60, 61.15, 336.99°)
OKLaboklab(46.87% 0.1673 -0.0648)
OKLCHoklch(46.87% 0.179 338.8)
XYZxyz(16.4600, 8.8012, 19.5670)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F7B #1F9539
analogous
#741F95 #951F7B #951F40
triadic
#951F7B #7B951F #1F7B95
tetradic
#951F7B #95741F #1F9539 #1F4095
square
#951F7B #95741F #1F9539 #1F4095
split-complementary
#951F7B #40951F #1F9574
monochromatic
#300A27 #621451 #951F7B #C82AA5 #DB53BD

Accessibility & contrast

On white

7.61
#951F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F7B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F7B#FFFFFF#000000##FFFFFF
##951F7B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#4E5A78
Tritanopia (blue-blind)
#9E254B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951f7b;
/* rgb */ color: rgb(149, 31, 123);
/* oklch */ color: oklch(46.9% 0.179 338.8);
Tailwind
colors: {
  custom: {
    50: '#b869a1',
    500: '#951f7b',
    950: '#000000',
  },
}
SCSS
$custom: #951f7b;
$custom-light: #b869a1;
$custom-dark: #000000;
JSON
{
  "hex": "#951f7b",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 313.22,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46867,
    "c": 0.17944,
    "h": 338.8
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#951F7B
secondary
#51BF69
accent
#E9653F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #951F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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