#962EB2#962EB2

#962EB2 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.207 H 318.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#962EB2
RGBrgb(150, 46, 178)
HSLhsl(287, 59%, 44%)
HSVhsv(287, 74%, 70%)
CMYKcmyk(15.7%, 74.2%, 0%, 30.2%)
CIE-LABlab(40.66, 60.85, -49.30)
CIE-LCHlch(40.66, 78.31, 320.99°)
OKLaboklab(51.54% 0.1542 -0.1385)
OKLCHoklch(51.54% 0.207 318.1)
XYZxyz(21.5894, 11.6534, 43.2230)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962EB2 #4AB22E
analogous
#542EB2 #962EB2 #B22E8C
triadic
#962EB2 #B2962E #2EB296
tetradic
#962EB2 #B2542E #4AB22E #2E8CB2
square
#962EB2 #B2542E #4AB22E #2E8CB2
split-complementary
#962EB2 #8CB22E #2EB254
monochromatic
#441551 #6D2181 #962EB2 #B54CD1 #C97DDD

Accessibility & contrast

On white

6.31
#962EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#962EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962EB2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962EB2#FFFFFF#000000##FFFFFF
##962EB21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3463AF
Tritanopia (blue-blind)
#95496E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #962eb2;
/* rgb */ color: rgb(150, 46, 178);
/* oklch */ color: oklch(51.5% 0.207 318.1);
Tailwind
colors: {
  custom: {
    50: '#b971ca',
    500: '#962eb2',
    950: '#000000',
  },
}
SCSS
$custom: #962eb2;
$custom-light: #b971ca;
$custom-dark: #000000;
JSON
{
  "hex": "#962eb2",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 287.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.20729,
    "h": 318.1
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#962EB2
secondary
#87C676
accent
#E24667
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #962EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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