#952E87#952E87

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

Color values

HEX#952E87
RGBrgb(149, 46, 135)
HSLhsl(308, 53%, 38%)
HSVhsv(308, 69%, 58%)
CMYKcmyk(0%, 69.1%, 9.4%, 41.6%)
CIE-LABlab(38.01, 52.96, -27.57)
CIE-LCHlch(38.01, 59.71, 332.50°)
OKLaboklab(48.8% 0.1533 -0.0754)
OKLCHoklch(48.8% 0.171 333.8)
XYZxyz(17.7447, 10.0943, 23.9308)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E87 #2E953C
analogous
#6F2E95 #952E87 #952E53
triadic
#952E87 #87952E #2E8795
tetradic
#952E87 #956F2E #2E953C #2E5395
square
#952E87 #956F2E #2E953C #2E5395
split-complementary
#952E87 #53952E #2E956F
monochromatic
#371132 #66205D #952E87 #C33DB1 #D26CC4

Accessibility & contrast

On white

6.96
#952E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952E87
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E87#FFFFFF#000000##FFFFFF
##952E871.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#9C3756
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952e87;
/* rgb */ color: rgb(149, 46, 135);
/* oklch */ color: oklch(48.8% 0.171 333.8);
Tailwind
colors: {
  custom: {
    50: '#b770aa',
    500: '#952e87',
    950: '#000000',
  },
}
SCSS
$custom: #952e87;
$custom-light: #b770aa;
$custom-dark: #000000;
JSON
{
  "hex": "#952e87",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 308.155,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48803,
    "c": 0.17084,
    "h": 333.8
  },
  "luminance": 0.10093
}

Semantic roles & 50–950 ramp

primary
#952E87
secondary
#66B971
accent
#DC5F4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952E87

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

Preview Lab → · Contrast checker → · Palette generator →

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