#952799#952799

#952799 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.193 H 326.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#952799
RGBrgb(149, 39, 153)
HSLhsl(298, 59%, 38%)
HSVhsv(298, 75%, 60%)
CMYKcmyk(2.6%, 74.5%, 0%, 40%)
CIE-LABlab(38.10, 58.51, -38.44)
CIE-LCHlch(38.10, 70.01, 326.70°)
OKLaboklab(49.18% 0.1613 -0.1068)
OKLCHoklch(49.18% 0.193 326.5)
XYZxyz(18.8694, 10.1418, 31.0945)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952799 #2B9927
analogous
#5C2799 #952799 #992764
triadic
#952799 #999527 #279995
tetradic
#952799 #995C27 #2B9927 #276499
square
#952799 #995C27 #2B9927 #276499
split-complementary
#952799 #649927 #27995C
monochromatic
#360E37 #661B68 #952799 #C433CA #D363D7

Accessibility & contrast

On white

6.93
#952799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#952799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952799
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952799#FFFFFF#000000##FFFFFF
##9527991.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519C
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#993A5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952799;
/* rgb */ color: rgb(149, 39, 153);
/* oklch */ color: oklch(49.2% 0.193 326.5);
Tailwind
colors: {
  custom: {
    50: '#b86db7',
    500: '#952799',
    950: '#000000',
  },
}
SCSS
$custom: #952799;
$custom-light: #b86db7;
$custom-dark: #000000;
JSON
{
  "hex": "#952799",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 297.895,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.19342,
    "h": 326.5
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#952799
secondary
#62BD5F
accent
#E3454B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952799

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

Preview Lab → · Contrast checker → · Palette generator →

#952799 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva