#962FB1#962FB1

#962FB1 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 318.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#962FB1
RGBrgb(150, 47, 177)
HSLhsl(288, 58%, 44%)
HSVhsv(288, 73%, 69%)
CMYKcmyk(15.3%, 73.4%, 0%, 30.6%)
CIE-LABlab(40.72, 60.29, -48.60)
CIE-LCHlch(40.72, 77.44, 321.13°)
OKLaboklab(51.56% 0.1533 -0.1365)
OKLCHoklch(51.56% 0.205 318.3)
XYZxyz(21.5289, 11.6924, 42.7093)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FB1 #4AB12F
analogous
#552FB1 #962FB1 #B12F8B
triadic
#962FB1 #B1962F #2FB196
tetradic
#962FB1 #B1552F #4AB12F #2F8BB1
square
#962FB1 #B1552F #4AB12F #2F8BB1
split-complementary
#962FB1 #8BB12F #2FB155
monochromatic
#441550 #6D2281 #962FB1 #B54DD0 #C97EDD

Accessibility & contrast

On white

6.29
#962FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#962FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FB1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FB1#FFFFFF#000000##FFFFFF
##962FB11.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3663AE
Tritanopia (blue-blind)
#95496E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #962fb1;
/* rgb */ color: rgb(150, 47, 177);
/* oklch */ color: oklch(51.6% 0.205 318.3);
Tailwind
colors: {
  custom: {
    50: '#b972c9',
    500: '#962fb1',
    950: '#000000',
  },
}
SCSS
$custom: #962fb1;
$custom-light: #b972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#962fb1",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 287.538,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5156,
    "c": 0.2053,
    "h": 318.3
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#962FB1
secondary
#87C576
accent
#E14767
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #962FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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