#952B8E#952B8E

#952B8E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.180 H 330.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#952B8E
RGBrgb(149, 43, 142)
HSLhsl(304, 55%, 38%)
HSVhsv(304, 71%, 58%)
CMYKcmyk(0%, 71.1%, 4.7%, 41.6%)
CIE-LABlab(37.97, 55.25, -31.93)
CIE-LCHlch(37.97, 63.81, 329.97°)
OKLaboklab(48.89% 0.1572 -0.0879)
OKLCHoklch(48.89% 0.18 330.8)
XYZxyz(18.1407, 10.0717, 26.5745)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952B8E #2B9532
analogous
#672B95 #952B8E #952B59
triadic
#952B8E #8E952B #2B8E95
tetradic
#952B8E #95672B #2B9532 #2B5995
square
#952B8E #95672B #2B9532 #2B5995
split-complementary
#952B8E #59952B #2B9567
monochromatic
#361033 #661D61 #952B8E #C439BB #D367CC

Accessibility & contrast

On white

6.97
#952B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952B8E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952B8E#FFFFFF#000000##FFFFFF
##952B8E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952b8e;
/* rgb */ color: rgb(149, 43, 142);
/* oklch */ color: oklch(48.9% 0.180 330.8);
Tailwind
colors: {
  custom: {
    50: '#b76faf',
    500: '#952b8e',
    950: '#000000',
  },
}
SCSS
$custom: #952b8e;
$custom-light: #b76faf;
$custom-dark: #000000;
JSON
{
  "hex": "#952b8e",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 303.962,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48892,
    "c": 0.18008,
    "h": 330.8
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#952B8E
secondary
#62BA68
accent
#DF5349
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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