#952D98#952D98

#952D98 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.186 H 326.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#952D98
RGBrgb(149, 45, 152)
HSLhsl(298, 54%, 39%)
HSVhsv(298, 70%, 60%)
CMYKcmyk(2%, 70.4%, 0%, 40.4%)
CIE-LABlab(38.79, 56.21, -36.73)
CIE-LCHlch(38.79, 67.15, 326.83°)
OKLaboklab(49.66% 0.1553 -0.1019)
OKLCHoklch(49.66% 0.186 326.7)
XYZxyz(19.0000, 10.5346, 30.7323)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D98 #30982D
analogous
#5F2D98 #952D98 #982D65
triadic
#952D98 #98952D #2D9895
tetradic
#952D98 #985F2D #30982D #2D6598
square
#952D98 #985F2D #30982D #2D6598
split-complementary
#952D98 #65982D #2D985F
monochromatic
#38113A #671F69 #952D98 #C23DC5 #D16CD3

Accessibility & contrast

On white

6.76
#952D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#952D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952D98
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D98#FFFFFF#000000##FFFFFF
##952D981.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#993D5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952d98;
/* rgb */ color: rgb(149, 45, 152);
/* oklch */ color: oklch(49.7% 0.186 326.7);
Tailwind
colors: {
  custom: {
    50: '#b770b7',
    500: '#952d98',
    950: '#000000',
  },
}
SCSS
$custom: #952d98;
$custom-light: #b770b7;
$custom-dark: #000000;
JSON
{
  "hex": "#952d98",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 298.318,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49657,
    "c": 0.18575,
    "h": 326.7
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#952D98
secondary
#69BA66
accent
#DE4A4E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952D98

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

Preview Lab → · Contrast checker → · Palette generator →

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