#952B8D#952B8D

#952B8D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.179 H 331.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#952B8D
RGBrgb(149, 43, 141)
HSLhsl(305, 55%, 38%)
HSVhsv(305, 71%, 58%)
CMYKcmyk(0%, 71.1%, 5.4%, 41.6%)
CIE-LABlab(37.92, 55.08, -31.41)
CIE-LCHlch(37.92, 63.40, 330.31°)
OKLaboklab(48.84% 0.1571 -0.0864)
OKLCHoklch(48.84% 0.179 331.2)
XYZxyz(18.0660, 10.0418, 26.1809)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952B8D #2B9533
analogous
#682B95 #952B8D #952B58
triadic
#952B8D #8D952B #2B8D95
tetradic
#952B8D #95682B #2B9533 #2B5895
square
#952B8D #95682B #2B9533 #2B5895
split-complementary
#952B8D #58952B #2B9568
monochromatic
#361033 #661D60 #952B8D #C439BA #D367CB

Accessibility & contrast

On white

6.98
#952B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#952B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952B8D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952B8D#FFFFFF#000000##FFFFFF
##952B8D1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#4B5E8A
Tritanopia (blue-blind)
#9B3759
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952b8d;
/* rgb */ color: rgb(149, 43, 141);
/* oklch */ color: oklch(48.8% 0.179 331.2);
Tailwind
colors: {
  custom: {
    50: '#b76faf',
    500: '#952b8d',
    950: '#000000',
  },
}
SCSS
$custom: #952b8d;
$custom-light: #b76faf;
$custom-dark: #000000;
JSON
{
  "hex": "#952b8d",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 304.528,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.17929,
    "h": 331.2
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#952B8D
secondary
#62BA69
accent
#DF5549
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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