#952F7B#952F7B

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

Color values

HEX#952F7B
RGBrgb(149, 47, 123)
HSLhsl(315, 52%, 38%)
HSVhsv(315, 68%, 58%)
CMYKcmyk(0%, 68.5%, 17.4%, 41.6%)
CIE-LABlab(37.58, 50.69, -20.82)
CIE-LCHlch(37.58, 54.80, 337.67°)
OKLaboklab(48.3% 0.1505 -0.0562)
OKLCHoklch(48.3% 0.161 339.5)
XYZxyz(16.9865, 9.8542, 19.7425)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F7B #2F9549
analogous
#7C2F95 #952F7B #952F48
triadic
#952F7B #7B952F #2F7B95
tetradic
#952F7B #957C2F #2F9549 #2F4895
square
#952F7B #957C2F #2F9549 #2F4895
split-complementary
#952F7B #48952F #2F957C
monochromatic
#38122E #662055 #952F7B #C23FA1 #D16DB8

Accessibility & contrast

On white

7.07
#952F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#952F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952F7B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F7B#FFFFFF#000000##FFFFFF
##952F7B1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#9E3251
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952f7b;
/* rgb */ color: rgb(149, 47, 123);
/* oklch */ color: oklch(48.3% 0.161 339.5);
Tailwind
colors: {
  custom: {
    50: '#b770a1',
    500: '#952f7b',
    950: '#000000',
  },
}
SCSS
$custom: #952f7b;
$custom-light: #b770a1;
$custom-dark: #000000;
JSON
{
  "hex": "#952f7b",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 315.294,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.16061,
    "h": 339.5
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#952F7B
secondary
#67B87C
accent
#DB714C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #952F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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