#962FA6#962FA6

#962FA6 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.196 H 322.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#962FA6
RGBrgb(150, 47, 166)
HSLhsl(292, 56%, 42%)
HSVhsv(292, 72%, 65%)
CMYKcmyk(9.6%, 71.7%, 0%, 34.9%)
CIE-LABlab(40.03, 58.21, -43.16)
CIE-LCHlch(40.03, 72.47, 323.44°)
OKLaboklab(50.85% 0.1541 -0.1206)
OKLCHoklch(50.85% 0.196 322)
XYZxyz(20.4764, 11.2714, 37.1660)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FA6 #3FA62F
analogous
#5B2FA6 #962FA6 #A62F7B
triadic
#962FA6 #A6962F #2FA696
tetradic
#962FA6 #A65B2F #3FA62F #2F7BA6
square
#962FA6 #A65B2F #3FA62F #2F7BA6
split-complementary
#962FA6 #7BA62F #2FA65B
monochromatic
#401447 #6B2176 #962FA6 #B947CB #CB77D8

Accessibility & contrast

On white

6.45
#962FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#962FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FA6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FA6#FFFFFF#000000##FFFFFF
##962FA61.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#984567
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #962fa6;
/* rgb */ color: rgb(150, 47, 166);
/* oklch */ color: oklch(50.8% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#b871c1',
    500: '#962fa6',
    950: '#000000',
  },
}
SCSS
$custom: #962fa6;
$custom-light: #b871c1;
$custom-dark: #000000;
JSON
{
  "hex": "#962fa6",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 291.933,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50848,
    "c": 0.19571,
    "h": 322
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#962FA6
secondary
#7BC170
accent
#DF495D
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #962FA6

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

Preview Lab → · Contrast checker → · Palette generator →

#962FA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva