#962FB4#962FB4

#962FB4 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.208 H 317.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#962FB4
RGBrgb(150, 47, 180)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 71%)
CMYKcmyk(16.7%, 73.9%, 0%, 29.4%)
CIE-LABlab(40.92, 60.87, -50.07)
CIE-LCHlch(40.92, 78.82, 320.56°)
OKLaboklab(51.76% 0.153 -0.1408)
OKLCHoklch(51.76% 0.208 317.4)
XYZxyz(21.8312, 11.8133, 44.3014)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FB4 #4DB42F
analogous
#542FB4 #962FB4 #B42F90
triadic
#962FB4 #B4962F #2FB496
tetradic
#962FB4 #B4542F #4DB42F #2F90B4
square
#962FB4 #B4542F #4DB42F #2F90B4
split-complementary
#962FB4 #90B42F #2FB454
monochromatic
#451653 #6E2283 #962FB4 #B44FD1 #C980DE

Accessibility & contrast

On white

6.25
#962FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#962FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FB4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FB4#FFFFFF#000000##FFFFFF
##962FB41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #962fb4;
/* rgb */ color: rgb(150, 47, 180);
/* oklch */ color: oklch(51.8% 0.208 317.4);
Tailwind
colors: {
  custom: {
    50: '#b972cb',
    500: '#962fb4',
    950: '#000000',
  },
}
SCSS
$custom: #962fb4;
$custom-light: #b972cb;
$custom-dark: #000000;
JSON
{
  "hex": "#962fb4",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 286.466,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.20795,
    "h": 317.4
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#962FB4
secondary
#8AC778
accent
#E24669
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #962FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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