#962EB5#962EB5

#962EB5 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.210 H 317.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#962EB5
RGBrgb(150, 46, 181)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 75%, 71%)
CMYKcmyk(17.1%, 74.6%, 0%, 29%)
CIE-LABlab(40.86, 61.43, -50.76)
CIE-LCHlch(40.86, 79.68, 320.44°)
OKLaboklab(51.74% 0.1538 -0.1428)
OKLCHoklch(51.74% 0.21 317.1)
XYZxyz(21.8939, 11.7752, 44.8267)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962EB5 #4DB52E
analogous
#532EB5 #962EB5 #B52E91
triadic
#962EB5 #B5962E #2EB596
tetradic
#962EB5 #B5532E #4DB52E #2E91B5
square
#962EB5 #B5532E #4DB52E #2E91B5
split-complementary
#962EB5 #91B52E #2EB553
monochromatic
#451553 #6E2284 #962EB5 #B44ED2 #C97FDE

Accessibility & contrast

On white

6.26
#962EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#962EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962EB5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962EB5#FFFFFF#000000##FFFFFF
##962EB51.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #962eb5;
/* rgb */ color: rgb(150, 46, 181);
/* oklch */ color: oklch(51.7% 0.210 317.1);
Tailwind
colors: {
  custom: {
    50: '#b972cc',
    500: '#962eb5',
    950: '#000000',
  },
}
SCSS
$custom: #962eb5;
$custom-light: #b972cc;
$custom-dark: #000000;
JSON
{
  "hex": "#962eb5",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 286.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.20992,
    "h": 317.1
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#962EB5
secondary
#8AC778
accent
#E34569
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #962EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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