#962EB4#962EB4

#962EB4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.209 H 317.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#962EB4
RGBrgb(150, 46, 180)
HSLhsl(287, 59%, 44%)
HSVhsv(287, 74%, 71%)
CMYKcmyk(16.7%, 74.4%, 0%, 29.4%)
CIE-LABlab(40.79, 61.24, -50.27)
CIE-LCHlch(40.79, 79.23, 320.62°)
OKLaboklab(51.67% 0.154 -0.1414)
OKLCHoklch(51.67% 0.209 317.4)
XYZxyz(21.7917, 11.7343, 44.2882)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962EB4 #4CB42E
analogous
#532EB4 #962EB4 #B42E8F
triadic
#962EB4 #B4962E #2EB496
tetradic
#962EB4 #B4532E #4CB42E #2E8FB4
square
#962EB4 #B4532E #4CB42E #2E8FB4
split-complementary
#962EB4 #8FB42E #2EB453
monochromatic
#451553 #6D2283 #962EB4 #B44ED2 #C97EDE

Accessibility & contrast

On white

6.28
#962EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #962EB4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962EB4#FFFFFF#000000##FFFFFF
##962EB41.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#3263B1
Tritanopia (blue-blind)
#954A6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #962eb4;
/* rgb */ color: rgb(150, 46, 180);
/* oklch */ color: oklch(51.7% 0.209 317.4);
Tailwind
colors: {
  custom: {
    50: '#b972cb',
    500: '#962eb4',
    950: '#000000',
  },
}
SCSS
$custom: #962eb4;
$custom-light: #b972cb;
$custom-dark: #000000;
JSON
{
  "hex": "#962eb4",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 286.567,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.20903,
    "h": 317.4
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#962EB4
secondary
#89C777
accent
#E24569
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #962EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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