#952E7F#952E7F

#952E7F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 337.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#952E7F
RGBrgb(149, 46, 127)
HSLhsl(313, 53%, 38%)
HSVhsv(313, 69%, 58%)
CMYKcmyk(0%, 69.1%, 14.8%, 41.6%)
CIE-LABlab(37.62, 51.70, -23.24)
CIE-LCHlch(37.62, 56.68, 335.80°)
OKLaboklab(48.39% 0.1523 -0.063)
OKLCHoklch(48.39% 0.165 337.5)
XYZxyz(17.2025, 9.8774, 21.0751)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E7F #2E9544
analogous
#782E95 #952E7F #952E4B
triadic
#952E7F #7F952E #2E7F95
tetradic
#952E7F #95782E #2E9544 #2E4B95
square
#952E7F #95782E #2E9544 #2E4B95
split-complementary
#952E7F #4B952E #2E9578
monochromatic
#37112F #662057 #952E7F #C33DA6 #D26CBC

Accessibility & contrast

On white

7.06
#952E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#952E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952E7F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E7F#FFFFFF#000000##FFFFFF
##952E7F1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#9D3352
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952e7f;
/* rgb */ color: rgb(149, 46, 127);
/* oklch */ color: oklch(48.4% 0.165 337.5);
Tailwind
colors: {
  custom: {
    50: '#b76fa4',
    500: '#952e7f',
    950: '#000000',
  },
}
SCSS
$custom: #952e7f;
$custom-light: #b76fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#952e7f",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 312.816,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48394,
    "c": 0.16483,
    "h": 337.5
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#952E7F
secondary
#66B978
accent
#DC6A4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952E7F

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

Preview Lab → · Contrast checker → · Palette generator →

#952E7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva