#952F87#952F87

#952F87 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.170 H 333.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#952F87
RGBrgb(149, 47, 135)
HSLhsl(308, 52%, 38%)
HSVhsv(308, 68%, 58%)
CMYKcmyk(0%, 68.5%, 9.4%, 41.6%)
CIE-LABlab(38.15, 52.57, -27.35)
CIE-LCHlch(38.15, 59.26, 332.51°)
OKLaboklab(48.91% 0.1521 -0.0748)
OKLCHoklch(48.91% 0.17 333.8)
XYZxyz(17.7842, 10.1733, 23.9440)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F87 #2F953D
analogous
#702F95 #952F87 #952F54
triadic
#952F87 #87952F #2F8795
tetradic
#952F87 #95702F #2F953D #2F5495
square
#952F87 #95702F #2F953D #2F5495
split-complementary
#952F87 #54952F #2F9570
monochromatic
#381233 #66205D #952F87 #C23FB0 #D16DC3

Accessibility & contrast

On white

6.92
#952F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#952F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F87
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F87#FFFFFF#000000##FFFFFF
##952F871.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D508A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#9C3757
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952f87;
/* rgb */ color: rgb(149, 47, 135);
/* oklch */ color: oklch(48.9% 0.170 333.8);
Tailwind
colors: {
  custom: {
    50: '#b770aa',
    500: '#952f87',
    950: '#000000',
  },
}
SCSS
$custom: #952f87;
$custom-light: #b770aa;
$custom-dark: #000000;
JSON
{
  "hex": "#952f87",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 308.235,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48905,
    "c": 0.16953,
    "h": 333.8
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#952F87
secondary
#67B873
accent
#DB604C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952F87

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

Preview Lab → · Contrast checker → · Palette generator →

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