#952E98#952E98

#952E98 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.185 H 326.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#952E98
RGBrgb(149, 46, 152)
HSLhsl(298, 54%, 39%)
HSVhsv(298, 70%, 60%)
CMYKcmyk(2%, 69.7%, 0%, 40.4%)
CIE-LABlab(38.92, 55.83, -36.52)
CIE-LCHlch(38.92, 66.72, 326.81°)
OKLaboklab(49.75% 0.1543 -0.1013)
OKLCHoklch(49.75% 0.185 326.7)
XYZxyz(19.0386, 10.6118, 30.7452)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E98 #31982E
analogous
#602E98 #952E98 #982E66
triadic
#952E98 #98952E #2E9895
tetradic
#952E98 #98602E #31982E #2E6698
square
#952E98 #98602E #31982E #2E6698
split-complementary
#952E98 #66982E #2E9860
monochromatic
#39123A #672069 #952E98 #C13EC5 #D06DD3

Accessibility & contrast

On white

6.73
#952E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#952E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952E98
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E98#FFFFFF#000000##FFFFFF
##952E981.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#993E60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #952e98;
/* rgb */ color: rgb(149, 46, 152);
/* oklch */ color: oklch(49.8% 0.185 326.7);
Tailwind
colors: {
  custom: {
    50: '#b770b7',
    500: '#952e98',
    950: '#000000',
  },
}
SCSS
$custom: #952e98;
$custom-light: #b770b7;
$custom-dark: #000000;
JSON
{
  "hex": "#952e98",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 298.302,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.18453,
    "h": 326.7
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#952E98
secondary
#6ABA68
accent
#DD4B4F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952E98

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

Preview Lab → · Contrast checker → · Palette generator →

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