#962899#962899

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

Color values

HEX#962899
RGBrgb(150, 40, 153)
HSLhsl(298, 59%, 38%)
HSVhsv(298, 74%, 60%)
CMYKcmyk(2%, 73.9%, 0%, 40%)
CIE-LABlab(38.38, 58.39, -37.97)
CIE-LCHlch(38.38, 69.66, 326.96°)
OKLaboklab(49.42% 0.1615 -0.1054)
OKLCHoklch(49.42% 0.193 326.9)
XYZxyz(19.0859, 10.3028, 31.1142)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962899 #2B9928
analogous
#5D2899 #962899 #992863
triadic
#962899 #999628 #289996
tetradic
#962899 #995D28 #2B9928 #286399
square
#962899 #995D28 #2B9928 #286399
split-complementary
#962899 #639928 #28995D
monochromatic
#370F38 #661B68 #962899 #C635CA #D465D7

Accessibility & contrast

On white

6.86
#962899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#962899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##962899#FFFFFF#000000##FFFFFF
##9628991.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)
#0C519C
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#9A3A5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962899;
/* rgb */ color: rgb(150, 40, 153);
/* oklch */ color: oklch(49.4% 0.193 326.9);
Tailwind
colors: {
  custom: {
    50: '#b86eb7',
    500: '#962899',
    950: '#000000',
  },
}
SCSS
$custom: #962899;
$custom-light: #b86eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#962899",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 298.407,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.19282,
    "h": 326.9
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#962899
secondary
#63BD60
accent
#E2464A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962899

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

Preview Lab → · Contrast checker → · Palette generator →

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