#962799#962799

#962799 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.194 H 326.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#962799
RGBrgb(150, 39, 153)
HSLhsl(298, 59%, 38%)
HSVhsv(298, 75%, 60%)
CMYKcmyk(2%, 74.5%, 0%, 40%)
CIE-LABlab(38.26, 58.73, -38.16)
CIE-LCHlch(38.26, 70.04, 326.99°)
OKLaboklab(49.33% 0.1624 -0.1059)
OKLCHoklch(49.33% 0.194 326.9)
XYZxyz(19.0526, 10.2363, 31.1031)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962799 #2A9927
analogous
#5D2799 #962799 #992763
triadic
#962799 #999627 #279996
tetradic
#962799 #995D27 #2A9927 #276399
square
#962799 #995D27 #2A9927 #276399
split-complementary
#962799 #639927 #27995D
monochromatic
#360E37 #661B68 #962799 #C633CA #D463D7

Accessibility & contrast

On white

6.89
#962799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#962799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962799
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962799#FFFFFF#000000##FFFFFF
##9627991.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08519C
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#9A3A5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962799;
/* rgb */ color: rgb(150, 39, 153);
/* oklch */ color: oklch(49.3% 0.194 326.9);
Tailwind
colors: {
  custom: {
    50: '#b86db7',
    500: '#962799',
    950: '#000000',
  },
}
SCSS
$custom: #962799;
$custom-light: #b86db7;
$custom-dark: #000000;
JSON
{
  "hex": "#962799",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 298.421,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.19391,
    "h": 326.9
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#962799
secondary
#61BD5F
accent
#E34549
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962799

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

Preview Lab → · Contrast checker → · Palette generator →

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