#952D95#952D95

#952D95 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.183 H 327.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#952D95
RGBrgb(149, 45, 149)
HSLhsl(300, 54%, 38%)
HSVhsv(300, 70%, 58%)
CMYKcmyk(0%, 69.8%, 0%, 41.6%)
CIE-LABlab(38.62, 55.69, -35.18)
CIE-LCHlch(38.62, 65.87, 327.72°)
OKLaboklab(49.48% 0.1553 -0.0974)
OKLCHoklch(49.48% 0.183 327.9)
XYZxyz(18.7574, 10.4376, 29.4546)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D95 #2D952D
analogous
#612D95 #952D95 #952D61
triadic
#952D95 #95952D #2D9595
tetradic
#952D95 #95612D #2D952D #2D6195
square
#952D95 #95612D #2D952D #2D6195
split-complementary
#952D95 #61952D #2D9561
monochromatic
#371137 #661F66 #952D95 #C43BC4 #D26AD2

Accessibility & contrast

On white

6.80
#952D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#952D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D95
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D95#FFFFFF#000000##FFFFFF
##952D951.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#486092
Tritanopia (blue-blind)
#9A3C5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952d95;
/* rgb */ color: rgb(149, 45, 149);
/* oklch */ color: oklch(49.5% 0.183 327.9);
Tailwind
colors: {
  custom: {
    50: '#b770b4',
    500: '#952d95',
    950: '#000000',
  },
}
SCSS
$custom: #952d95;
$custom-light: #b770b4;
$custom-dark: #000000;
JSON
{
  "hex": "#952d95",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 300,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.18329,
    "h": 327.9
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#952D95
secondary
#65B965
accent
#DD4B4B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952D95

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

Preview Lab → · Contrast checker → · Palette generator →

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