#952A98#952A98

#952A98 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.189 H 326.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#952A98
RGBrgb(149, 42, 152)
HSLhsl(298, 57%, 38%)
HSVhsv(298, 72%, 60%)
CMYKcmyk(2%, 72.4%, 0%, 40.4%)
CIE-LABlab(38.40, 57.30, -37.35)
CIE-LCHlch(38.40, 68.40, 326.91°)
OKLaboklab(49.38% 0.1584 -0.1036)
OKLCHoklch(49.38% 0.189 326.8)
XYZxyz(18.8896, 10.3138, 30.6955)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A98 #2D982A
analogous
#5E2A98 #952A98 #982A64
triadic
#952A98 #98952A #2A9895
tetradic
#952A98 #985E2A #2D982A #2A6498
square
#952A98 #985E2A #2D982A #2A6498
split-complementary
#952A98 #64982A #2A985E
monochromatic
#371038 #661D68 #952A98 #C437C8 #D267D5

Accessibility & contrast

On white

6.86
#952A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #952A98
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A98#FFFFFF#000000##FFFFFF
##952A981.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#993B5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952a98;
/* rgb */ color: rgb(149, 42, 152);
/* oklch */ color: oklch(49.4% 0.189 326.8);
Tailwind
colors: {
  custom: {
    50: '#b86eb7',
    500: '#952a98',
    950: '#000000',
  },
}
SCSS
$custom: #952a98;
$custom-light: #b86eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952a98",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 298.364,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.18929,
    "h": 326.8
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#952A98
secondary
#65BB62
accent
#E0484C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952A98

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

Preview Lab → · Contrast checker → · Palette generator →

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