#962EB7#962EB7

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

Color values

HEX#962EB7
RGBrgb(150, 46, 183)
HSLhsl(286, 60%, 45%)
HSVhsv(286, 75%, 72%)
CMYKcmyk(18%, 74.9%, 0%, 28.2%)
CIE-LABlab(40.99, 61.82, -51.72)
CIE-LCHlch(40.99, 80.60, 320.08°)
OKLaboklab(51.87% 0.1536 -0.1456)
OKLCHoklch(51.87% 0.212 316.5)
XYZxyz(22.1006, 11.8578, 45.9152)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962EB7 #4FB72E
analogous
#512EB7 #962EB7 #B72E94
triadic
#962EB7 #B7962E #2EB796
tetradic
#962EB7 #B7512E #4FB72E #2E94B7
square
#962EB7 #B7512E #4FB72E #2E94B7
split-complementary
#962EB7 #94B72E #2EB751
monochromatic
#461555 #6E2286 #962EB7 #B34FD3 #C880DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##962EB7#FFFFFF#000000##FFFFFF
##962EB71.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)
#005ABB
Deuteranopia (green-blind)
#2E64B4
Tritanopia (blue-blind)
#944C71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #962eb7;
/* rgb */ color: rgb(150, 46, 183);
/* oklch */ color: oklch(51.9% 0.212 316.5);
Tailwind
colors: {
  custom: {
    50: '#b972cd',
    500: '#962eb7',
    950: '#000000',
  },
}
SCSS
$custom: #962eb7;
$custom-light: #b972cd;
$custom-dark: #000000;
JSON
{
  "hex": "#962eb7",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 285.547,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.21167,
    "h": 316.5
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#962EB7
secondary
#8CC879
accent
#E3456B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #962EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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