#962FA7#962FA7

#962FA7 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.197 H 321.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#962FA7
RGBrgb(150, 47, 167)
HSLhsl(292, 56%, 42%)
HSVhsv(292, 72%, 65%)
CMYKcmyk(10.2%, 71.9%, 0%, 34.5%)
CIE-LABlab(40.09, 58.40, -43.66)
CIE-LCHlch(40.09, 72.92, 323.22°)
OKLaboklab(50.91% 0.1541 -0.122)
OKLCHoklch(50.91% 0.197 321.6)
XYZxyz(20.5685, 11.3082, 37.6510)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FA7 #40A72F
analogous
#5A2FA7 #962FA7 #A72F7C
triadic
#962FA7 #A7962F #2FA796
tetradic
#962FA7 #A75A2F #40A72F #2F7CA7
square
#962FA7 #A75A2F #40A72F #2F7CA7
split-complementary
#962FA7 #7CA72F #2FA75A
monochromatic
#401447 #6B2277 #962FA7 #B948CB #CB78D9

Accessibility & contrast

On white

6.44
#962FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#962FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FA7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FA7#FFFFFF#000000##FFFFFF
##962FA71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#3E62A4
Tritanopia (blue-blind)
#974568
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #962fa7;
/* rgb */ color: rgb(150, 47, 167);
/* oklch */ color: oklch(50.9% 0.197 321.6);
Tailwind
colors: {
  custom: {
    50: '#b871c2',
    500: '#962fa7',
    950: '#000000',
  },
}
SCSS
$custom: #962fa7;
$custom-light: #b871c2;
$custom-dark: #000000;
JSON
{
  "hex": "#962fa7",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 291.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50911,
    "c": 0.19657,
    "h": 321.6
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#962FA7
secondary
#7CC171
accent
#DF485E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #962FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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