#952E86#952E86

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

Color values

HEX#952E86
RGBrgb(149, 46, 134)
HSLhsl(309, 53%, 38%)
HSVhsv(309, 69%, 58%)
CMYKcmyk(0%, 69.1%, 10.1%, 41.6%)
CIE-LABlab(37.96, 52.80, -27.04)
CIE-LCHlch(37.96, 59.32, 332.88°)
OKLaboklab(48.75% 0.1532 -0.0739)
OKLCHoklch(48.75% 0.17 334.3)
XYZxyz(17.6746, 10.0662, 23.5617)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E86 #2E953D
analogous
#702E95 #952E86 #952E52
triadic
#952E86 #86952E #2E8695
tetradic
#952E86 #95702E #2E953D #2E5295
square
#952E86 #95702E #2E953D #2E5295
split-complementary
#952E86 #52952E #2E9570
monochromatic
#371132 #66205C #952E86 #C33DB0 #D26CC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##952E86#FFFFFF#000000##FFFFFF
##952E861.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)
#2C5089
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#9C3656
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952e86;
/* rgb */ color: rgb(149, 46, 134);
/* oklch */ color: oklch(48.8% 0.170 334.3);
Tailwind
colors: {
  custom: {
    50: '#b770a9',
    500: '#952e86',
    950: '#000000',
  },
}
SCSS
$custom: #952e86;
$custom-light: #b770a9;
$custom-dark: #000000;
JSON
{
  "hex": "#952e86",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 308.738,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48751,
    "c": 0.17007,
    "h": 334.3
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#952E86
secondary
#66B972
accent
#DC614C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952E86

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

Preview Lab → · Contrast checker → · Palette generator →

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