#952B98#952B98

#952B98 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.188 H 326.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#952B98
RGBrgb(149, 43, 152)
HSLhsl(298, 56%, 38%)
HSVhsv(298, 72%, 60%)
CMYKcmyk(2%, 71.7%, 0%, 40.4%)
CIE-LABlab(38.53, 56.95, -37.15)
CIE-LCHlch(38.53, 67.99, 326.88°)
OKLaboklab(49.47% 0.1574 -0.103)
OKLCHoklch(49.47% 0.188 326.8)
XYZxyz(18.9255, 10.3856, 30.7075)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952B98 #2E982B
analogous
#5E2B98 #952B98 #982B64
triadic
#952B98 #98952B #2B9895
tetradic
#952B98 #985E2B #2E982B #2B6498
square
#952B98 #985E2B #2E982B #2B6498
split-complementary
#952B98 #64982B #2B985E
monochromatic
#371039 #661E68 #952B98 #C339C7 #D269D5

Accessibility & contrast

On white

6.83
#952B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#952B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952B98
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952B98#FFFFFF#000000##FFFFFF
##952B981.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#993C5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952b98;
/* rgb */ color: rgb(149, 43, 152);
/* oklch */ color: oklch(49.5% 0.188 326.8);
Tailwind
colors: {
  custom: {
    50: '#b86fb7',
    500: '#952b98',
    950: '#000000',
  },
}
SCSS
$custom: #952b98;
$custom-light: #b86fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952b98",
  "rgb": {
    "r": 149,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 298.349,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.18813,
    "h": 326.8
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#952B98
secondary
#66BB64
accent
#DF494D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952B98

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

Preview Lab → · Contrast checker → · Palette generator →

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