#952F7C#952F7C

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

Color values

HEX#952F7C
RGBrgb(149, 47, 124)
HSLhsl(315, 52%, 38%)
HSVhsv(315, 68%, 58%)
CMYKcmyk(0%, 68.5%, 16.8%, 41.6%)
CIE-LABlab(37.63, 50.84, -21.37)
CIE-LCHlch(37.63, 55.15, 337.20°)
OKLaboklab(48.35% 0.1506 -0.0577)
OKLCHoklch(48.35% 0.161 339)
XYZxyz(17.0494, 9.8794, 20.0739)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F7C #2F9548
analogous
#7B2F95 #952F7C #952F49
triadic
#952F7C #7C952F #2F7C95
tetradic
#952F7C #957B2F #2F9548 #2F4995
square
#952F7C #957B2F #2F9548 #2F4995
split-complementary
#952F7C #49952F #2F957B
monochromatic
#38122F #662055 #952F7C #C23FA2 #D16DB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##952F7C#FFFFFF#000000##FFFFFF
##952F7C1.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)
#344E7E
Deuteranopia (green-blind)
#545E7A
Tritanopia (blue-blind)
#9D3351
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952f7c;
/* rgb */ color: rgb(149, 47, 124);
/* oklch */ color: oklch(48.4% 0.161 339.0);
Tailwind
colors: {
  custom: {
    50: '#b770a2',
    500: '#952f7c',
    950: '#000000',
  },
}
SCSS
$custom: #952f7c;
$custom-light: #b770a2;
$custom-dark: #000000;
JSON
{
  "hex": "#952f7c",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 314.706,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48351,
    "c": 0.16132,
    "h": 339
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#952F7C
secondary
#67B87B
accent
#DB6F4C
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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