#962FA8#962FA8

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

Color values

HEX#962FA8
RGBrgb(150, 47, 168)
HSLhsl(291, 56%, 42%)
HSVhsv(291, 72%, 66%)
CMYKcmyk(10.7%, 72%, 0%, 34.1%)
CIE-LABlab(40.16, 58.59, -44.16)
CIE-LCHlch(40.16, 73.37, 322.99°)
OKLaboklab(50.97% 0.154 -0.1235)
OKLCHoklch(50.97% 0.197 321.3)
XYZxyz(20.6613, 11.3453, 38.1398)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FA8 #41A82F
analogous
#592FA8 #962FA8 #A82F7E
triadic
#962FA8 #A8962F #2FA896
tetradic
#962FA8 #A8592F #41A82F #2F7EA8
square
#962FA8 #A8592F #41A82F #2F7EA8
split-complementary
#962FA8 #7EA82F #2FA859
monochromatic
#411448 #6B2278 #962FA8 #B848CC #CB78D9

Accessibility & contrast

On white

6.42
#962FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#962FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FA8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FA8#FFFFFF#000000##FFFFFF
##962FA81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#3D62A5
Tritanopia (blue-blind)
#974569
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #962fa8;
/* rgb */ color: rgb(150, 47, 168);
/* oklch */ color: oklch(51.0% 0.197 321.3);
Tailwind
colors: {
  custom: {
    50: '#b871c2',
    500: '#962fa8',
    950: '#000000',
  },
}
SCSS
$custom: #962fa8;
$custom-light: #b871c2;
$custom-dark: #000000;
JSON
{
  "hex": "#962fa8",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 291.074,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50974,
    "c": 0.19743,
    "h": 321.3
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#962FA8
secondary
#7DC171
accent
#E0485F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #962FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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