#952F88#952F88

#952F88 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.170 H 333.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#952F88
RGBrgb(149, 47, 136)
HSLhsl(308, 52%, 38%)
HSVhsv(308, 68%, 58%)
CMYKcmyk(0%, 68.5%, 8.7%, 41.6%)
CIE-LABlab(38.20, 52.73, -27.89)
CIE-LCHlch(38.20, 59.65, 332.12°)
OKLaboklab(48.96% 0.1523 -0.0763)
OKLCHoklch(48.96% 0.17 333.4)
XYZxyz(17.8550, 10.2016, 24.3165)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F88 #2F953C
analogous
#6F2F95 #952F88 #952F55
triadic
#952F88 #88952F #2F8895
tetradic
#952F88 #956F2F #2F953C #2F5595
square
#952F88 #956F2F #2F953C #2F5595
split-complementary
#952F88 #55952F #2F956F
monochromatic
#381233 #66205E #952F88 #C23FB2 #D16DC4

Accessibility & contrast

On white

6.91
#952F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#952F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F88
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F88#FFFFFF#000000##FFFFFF
##952F881.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508B
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#9C3857
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952f88;
/* rgb */ color: rgb(149, 47, 136);
/* oklch */ color: oklch(49.0% 0.170 333.4);
Tailwind
colors: {
  custom: {
    50: '#b770ab',
    500: '#952f88',
    950: '#000000',
  },
}
SCSS
$custom: #952f88;
$custom-light: #b770ab;
$custom-dark: #000000;
JSON
{
  "hex": "#952f88",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 307.647,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48958,
    "c": 0.17031,
    "h": 333.4
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#952F88
secondary
#67B872
accent
#DB5F4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952F88

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

Preview Lab → · Contrast checker → · Palette generator →

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