#962FA4#962FA4

#962FA4 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.194 H 322.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#962FA4
RGBrgb(150, 47, 164)
HSLhsl(293, 55%, 41%)
HSVhsv(293, 71%, 64%)
CMYKcmyk(8.5%, 71.3%, 0%, 35.7%)
CIE-LABlab(39.91, 57.84, -42.16)
CIE-LCHlch(39.91, 71.58, 323.91°)
OKLaboklab(50.72% 0.1542 -0.1177)
OKLCHoklch(50.72% 0.194 322.7)
XYZxyz(20.2944, 11.1986, 36.2073)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FA4 #3DA42F
analogous
#5C2FA4 #962FA4 #A42F78
triadic
#962FA4 #A4962F #2FA496
tetradic
#962FA4 #A45C2F #3DA42F #2F78A4
square
#962FA4 #A45C2F #3DA42F #2F78A4
split-complementary
#962FA4 #78A42F #2FA45C
monochromatic
#3F1445 #6A2174 #962FA4 #BA46CA #CC76D8

Accessibility & contrast

On white

6.48
#962FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#962FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FA4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FA4#FFFFFF#000000##FFFFFF
##962FA41.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0156A7
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#984466
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #962fa4;
/* rgb */ color: rgb(150, 47, 164);
/* oklch */ color: oklch(50.7% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#b871bf',
    500: '#962fa4',
    950: '#000000',
  },
}
SCSS
$custom: #962fa4;
$custom-light: #b871bf;
$custom-dark: #000000;
JSON
{
  "hex": "#962fa4",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 292.821,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50723,
    "c": 0.19398,
    "h": 322.7
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#962FA4
secondary
#79C06F
accent
#DF495B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #962FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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