#952D97#952D97

#952D97 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.185 H 327.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#952D97
RGBrgb(149, 45, 151)
HSLhsl(299, 54%, 38%)
HSVhsv(299, 70%, 59%)
CMYKcmyk(1.3%, 70.2%, 0%, 40.8%)
CIE-LABlab(38.73, 56.03, -36.22)
CIE-LCHlch(38.73, 66.72, 327.12°)
OKLaboklab(49.6% 0.1553 -0.1004)
OKLCHoklch(49.6% 0.185 327.1)
XYZxyz(18.9184, 10.5020, 30.3028)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D97 #2F972D
analogous
#602D97 #952D97 #972D64
triadic
#952D97 #97952D #2D9795
tetradic
#952D97 #97602D #2F972D #2D6497
square
#952D97 #97602D #2F972D #2D6497
split-complementary
#952D97 #64972D #2D9760
monochromatic
#381139 #661F68 #952D97 #C23CC5 #D16BD3

Accessibility & contrast

On white

6.77
#952D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#952D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D97
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D97#FFFFFF#000000##FFFFFF
##952D971.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#993D5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952d97;
/* rgb */ color: rgb(149, 45, 151);
/* oklch */ color: oklch(49.6% 0.185 327.1);
Tailwind
colors: {
  custom: {
    50: '#b770b6',
    500: '#952d97',
    950: '#000000',
  },
}
SCSS
$custom: #952d97;
$custom-light: #b770b6;
$custom-dark: #000000;
JSON
{
  "hex": "#952d97",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 298.868,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49598,
    "c": 0.18493,
    "h": 327.1
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#952D97
secondary
#67BA66
accent
#DD4A4D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952D97

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

Preview Lab → · Contrast checker → · Palette generator →

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