#952F8B#952F8B

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

Color values

HEX#952F8B
RGBrgb(149, 47, 139)
HSLhsl(306, 52%, 38%)
HSVhsv(306, 68%, 58%)
CMYKcmyk(0%, 68.5%, 6.7%, 41.6%)
CIE-LABlab(38.35, 53.22, -29.49)
CIE-LCHlch(38.35, 60.85, 331.01°)
OKLaboklab(49.12% 0.1525 -0.0809)
OKLCHoklch(49.12% 0.173 332.1)
XYZxyz(18.0712, 10.2881, 25.4551)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F8B #2F9539
analogous
#6C2F95 #952F8B #952F58
triadic
#952F8B #8B952F #2F8B95
tetradic
#952F8B #956C2F #2F9539 #2F5895
square
#952F8B #956C2F #2F9539 #2F5895
split-complementary
#952F8B #58952F #2F956C
monochromatic
#381234 #662060 #952F8B #C23FB5 #D16DC7

Accessibility & contrast

On white

6.87
#952F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#952F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F8B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F8B#FFFFFF#000000##FFFFFF
##952F8B1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#9B3959
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952f8b;
/* rgb */ color: rgb(149, 47, 139);
/* oklch */ color: oklch(49.1% 0.173 332.1);
Tailwind
colors: {
  custom: {
    50: '#b770ad',
    500: '#952f8b',
    950: '#000000',
  },
}
SCSS
$custom: #952f8b;
$custom-light: #b770ad;
$custom-dark: #000000;
JSON
{
  "hex": "#952f8b",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 305.882,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49118,
    "c": 0.17267,
    "h": 332.1
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#952F8B
secondary
#67B86F
accent
#DB5A4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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