#952F8D#952F8D

#952F8D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.174 H 331.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#952F8D
RGBrgb(149, 47, 141)
HSLhsl(305, 52%, 38%)
HSVhsv(305, 68%, 58%)
CMYKcmyk(0%, 68.5%, 5.4%, 41.6%)
CIE-LABlab(38.46, 53.56, -30.55)
CIE-LCHlch(38.46, 61.66, 330.29°)
OKLaboklab(49.23% 0.1527 -0.084)
OKLCHoklch(49.23% 0.174 331.2)
XYZxyz(18.2186, 10.3471, 26.2318)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F8D #2F9537
analogous
#6A2F95 #952F8D #952F5A
triadic
#952F8D #8D952F #2F8D95
tetradic
#952F8D #956A2F #2F9537 #2F5A95
square
#952F8D #956A2F #2F9537 #2F5A95
split-complementary
#952F8D #5A952F #2F956A
monochromatic
#381235 #662061 #952F8D #C23FB8 #D16DC9

Accessibility & contrast

On white

6.84
#952F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#952F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F8D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F8D#FFFFFF#000000##FFFFFF
##952F8D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#9B3A5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952f8d;
/* rgb */ color: rgb(149, 47, 141);
/* oklch */ color: oklch(49.2% 0.174 331.2);
Tailwind
colors: {
  custom: {
    50: '#b770ae',
    500: '#952f8d',
    950: '#000000',
  },
}
SCSS
$custom: #952f8d;
$custom-light: #b770ae;
$custom-dark: #000000;
JSON
{
  "hex": "#952f8d",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 304.706,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.17427,
    "h": 331.2
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#952F8D
secondary
#67B86E
accent
#DB584C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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