#952B87#952B87

#952B87 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.175 H 333.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#952B87
RGBrgb(149, 43, 135)
HSLhsl(308, 55%, 38%)
HSVhsv(308, 71%, 58%)
CMYKcmyk(0%, 71.1%, 9.4%, 41.6%)
CIE-LABlab(37.60, 54.10, -28.21)
CIE-LCHlch(37.60, 61.02, 332.46°)
OKLaboklab(48.51% 0.1567 -0.0772)
OKLCHoklch(48.51% 0.175 333.8)
XYZxyz(17.6316, 9.8681, 23.8931)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952B87 #2B9539
analogous
#6E2B95 #952B87 #952B52
triadic
#952B87 #87952B #2B8795
tetradic
#952B87 #956E2B #2B9539 #2B5295
square
#952B87 #956E2B #2B9539 #2B5295
split-complementary
#952B87 #52952B #2B956E
monochromatic
#361031 #661D5C #952B87 #C439B2 #D367C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##952B87#FFFFFF#000000##FFFFFF
##952B871.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#9C3455
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952b87;
/* rgb */ color: rgb(149, 43, 135);
/* oklch */ color: oklch(48.5% 0.175 333.8);
Tailwind
colors: {
  custom: {
    50: '#b76eaa',
    500: '#952b87',
    950: '#000000',
  },
}
SCSS
$custom: #952b87;
$custom-light: #b76eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#952b87",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 307.925,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.17465,
    "h": 333.8
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#952B87
secondary
#62BA6E
accent
#DF5D49
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952B87

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

Preview Lab → · Contrast checker → · Palette generator →

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