#962FB5#962FB5

#962FB5 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.209 H 317.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#962FB5
RGBrgb(150, 47, 181)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 71%)
CMYKcmyk(17.1%, 74%, 0%, 29%)
CIE-LABlab(40.98, 61.07, -50.55)
CIE-LCHlch(40.98, 79.28, 320.38°)
OKLaboklab(51.83% 0.1529 -0.1422)
OKLCHoklch(51.83% 0.209 317.1)
XYZxyz(21.9334, 11.8542, 44.8398)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FB5 #4EB52F
analogous
#532FB5 #962FB5 #B52F91
triadic
#962FB5 #B5962F #2FB596
tetradic
#962FB5 #B5532F #4EB52F #2F91B5
square
#962FB5 #B5532F #4EB52F #2F91B5
split-complementary
#962FB5 #91B52F #2FB553
monochromatic
#451654 #6E2284 #962FB5 #B350D1 #C880DE

Accessibility & contrast

On white

6.23
#962FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#962FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FB5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FB5#FFFFFF#000000##FFFFFF
##962FB51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#3164B2
Tritanopia (blue-blind)
#944B70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #962fb5;
/* rgb */ color: rgb(150, 47, 181);
/* oklch */ color: oklch(51.8% 0.209 317.1);
Tailwind
colors: {
  custom: {
    50: '#b972cc',
    500: '#962fb5',
    950: '#000000',
  },
}
SCSS
$custom: #962fb5;
$custom-light: #b972cc;
$custom-dark: #000000;
JSON
{
  "hex": "#962fb5",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 286.119,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.20883,
    "h": 317.1
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#962FB5
secondary
#8BC779
accent
#E2466A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #962FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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