#952F8A#952F8A

#952F8A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.172 H 332.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#952F8A
RGBrgb(149, 47, 138)
HSLhsl(306, 52%, 38%)
HSVhsv(306, 68%, 58%)
CMYKcmyk(0%, 68.5%, 7.4%, 41.6%)
CIE-LABlab(38.30, 53.06, -28.96)
CIE-LCHlch(38.30, 60.45, 331.37°)
OKLaboklab(49.06% 0.1524 -0.0794)
OKLCHoklch(49.06% 0.172 332.5)
XYZxyz(17.9984, 10.2590, 25.0721)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F8A #2F953A
analogous
#6D2F95 #952F8A #952F57
triadic
#952F8A #8A952F #2F8A95
tetradic
#952F8A #956D2F #2F953A #2F5795
square
#952F8A #956D2F #2F953A #2F5795
split-complementary
#952F8A #57952F #2F956D
monochromatic
#381234 #66205F #952F8A #C23FB4 #D16DC6

Accessibility & contrast

On white

6.88
#952F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#952F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F8A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F8A#FFFFFF#000000##FFFFFF
##952F8A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#9B3958
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952f8a;
/* rgb */ color: rgb(149, 47, 138);
/* oklch */ color: oklch(49.1% 0.172 332.5);
Tailwind
colors: {
  custom: {
    50: '#b770ac',
    500: '#952f8a',
    950: '#000000',
  },
}
SCSS
$custom: #952f8a;
$custom-light: #b770ac;
$custom-dark: #000000;
JSON
{
  "hex": "#952f8a",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 306.471,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.17188,
    "h": 332.5
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#952F8A
secondary
#67B870
accent
#DB5C4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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