#952781#952781

#952781 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 336.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#952781
RGBrgb(149, 39, 129)
HSLhsl(311, 59%, 37%)
HSVhsv(311, 74%, 58%)
CMYKcmyk(0%, 73.8%, 13.4%, 41.6%)
CIE-LABlab(36.79, 54.61, -25.77)
CIE-LCHlch(36.79, 60.38, 334.74°)
OKLaboklab(47.83% 0.1603 -0.0702)
OKLCHoklch(47.83% 0.175 336.4)
XYZxyz(17.0827, 9.4271, 21.6846)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952781 #27953B
analogous
#722795 #952781 #95274A
triadic
#952781 #819527 #278195
tetradic
#952781 #957227 #27953B #274A95
square
#952781 #957227 #27953B #274A95
split-complementary
#952781 #4A9527 #279572
monochromatic
#340E2D #641A57 #952781 #C634AB #D661C0

Accessibility & contrast

On white

7.28
#952781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#952781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952781
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952781#FFFFFF#000000##FFFFFF
##9527811.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#4F5C7E
Tritanopia (blue-blind)
#9D2E51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952781;
/* rgb */ color: rgb(149, 39, 129);
/* oklch */ color: oklch(47.8% 0.175 336.4);
Tailwind
colors: {
  custom: {
    50: '#b86ca6',
    500: '#952781',
    950: '#000000',
  },
}
SCSS
$custom: #952781;
$custom-light: #b86ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#952781",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 310.909,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47825,
    "c": 0.175,
    "h": 336.4
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#952781
secondary
#5DBB6E
accent
#E26246
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952781

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

Preview Lab → · Contrast checker → · Palette generator →

#952781 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva