#952F7D#952F7D

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

Color values

HEX#952F7D
RGBrgb(149, 47, 125)
HSLhsl(314, 52%, 38%)
HSVhsv(314, 68%, 58%)
CMYKcmyk(0%, 68.5%, 16.1%, 41.6%)
CIE-LABlab(37.67, 51.00, -21.92)
CIE-LCHlch(37.67, 55.51, 336.74°)
OKLaboklab(48.4% 0.1508 -0.0593)
OKLCHoklch(48.4% 0.162 338.5)
XYZxyz(17.1130, 9.9048, 20.4086)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F7D #2F9547
analogous
#7A2F95 #952F7D #952F4A
triadic
#952F7D #7D952F #2F7D95
tetradic
#952F7D #957A2F #2F9547 #2F4A95
square
#952F7D #957A2F #2F9547 #2F4A95
split-complementary
#952F7D #4A952F #2F957A
monochromatic
#38122F #662056 #952F7D #C23FA3 #D16DBA

Accessibility & contrast

On white

7.05
#952F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952F7D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F7D#FFFFFF#000000##FFFFFF
##952F7D1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#545E7B
Tritanopia (blue-blind)
#9D3352
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952f7d;
/* rgb */ color: rgb(149, 47, 125);
/* oklch */ color: oklch(48.4% 0.162 338.5);
Tailwind
colors: {
  custom: {
    50: '#b770a3',
    500: '#952f7d',
    950: '#000000',
  },
}
SCSS
$custom: #952f7d;
$custom-light: #b770a3;
$custom-dark: #000000;
JSON
{
  "hex": "#952f7d",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 314.118,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.16203,
    "h": 338.5
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#952F7D
secondary
#67B87A
accent
#DB6E4C
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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