#952F85#952F85

#952F85 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.168 H 334.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#952F85
RGBrgb(149, 47, 133)
HSLhsl(309, 52%, 38%)
HSVhsv(309, 68%, 58%)
CMYKcmyk(0%, 68.5%, 10.7%, 41.6%)
CIE-LABlab(38.05, 52.25, -26.28)
CIE-LCHlch(38.05, 58.48, 333.30°)
OKLaboklab(48.8% 0.1519 -0.0717)
OKLCHoklch(48.8% 0.168 334.7)
XYZxyz(17.6447, 10.1175, 23.2093)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F85 #2F953F
analogous
#722F95 #952F85 #952F52
triadic
#952F85 #85952F #2F8595
tetradic
#952F85 #95722F #2F953F #2F5295
square
#952F85 #95722F #2F953F #2F5295
split-complementary
#952F85 #52952F #2F9572
monochromatic
#381232 #66205B #952F85 #C23FAE #D16DC1

Accessibility & contrast

On white

6.95
#952F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#952F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F85
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F85#FFFFFF#000000##FFFFFF
##952F851.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#9C3656
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952f85;
/* rgb */ color: rgb(149, 47, 133);
/* oklch */ color: oklch(48.8% 0.168 334.7);
Tailwind
colors: {
  custom: {
    50: '#b770a9',
    500: '#952f85',
    950: '#000000',
  },
}
SCSS
$custom: #952f85;
$custom-light: #b770a9;
$custom-dark: #000000;
JSON
{
  "hex": "#952f85",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 309.412,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48801,
    "c": 0.16799,
    "h": 334.7
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#952F85
secondary
#67B874
accent
#DB634C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952F85

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

Preview Lab → · Contrast checker → · Palette generator →

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