#962EB8#962EB8

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

Color values

HEX#962EB8
RGBrgb(150, 46, 184)
HSLhsl(285, 60%, 45%)
HSVhsv(285, 75%, 72%)
CMYKcmyk(18.5%, 75%, 0%, 27.8%)
CIE-LABlab(41.06, 62.01, -52.20)
CIE-LCHlch(41.06, 81.06, 319.91°)
OKLaboklab(51.94% 0.1535 -0.147)
OKLCHoklch(51.94% 0.213 316.2)
XYZxyz(22.2051, 11.8996, 46.4653)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962EB8 #50B82E
analogous
#512EB8 #962EB8 #B82E95
triadic
#962EB8 #B8962E #2EB896
tetradic
#962EB8 #B8512E #50B82E #2E95B8
square
#962EB8 #B8512E #50B82E #2E95B8
split-complementary
#962EB8 #95B82E #2EB851
monochromatic
#461656 #6E2287 #962EB8 #B350D3 #C881DF

Accessibility & contrast

On white

6.21
#962EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#962EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962EB8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962EB8#FFFFFF#000000##FFFFFF
##962EB81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2D64B5
Tritanopia (blue-blind)
#944C71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #962eb8;
/* rgb */ color: rgb(150, 46, 184);
/* oklch */ color: oklch(51.9% 0.213 316.2);
Tailwind
colors: {
  custom: {
    50: '#b972ce',
    500: '#962eb8',
    950: '#000000',
  },
}
SCSS
$custom: #962eb8;
$custom-light: #b972ce;
$custom-dark: #000000;
JSON
{
  "hex": "#962eb8",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 285.217,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.21255,
    "h": 316.2
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#962EB8
secondary
#8DC879
accent
#E3456C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #962EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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