#962BC6#962BC6

#962BC6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.228 H 312.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#962BC6
RGBrgb(150, 43, 198)
HSLhsl(281, 64%, 47%)
HSVhsv(281, 78%, 78%)
CMYKcmyk(24.2%, 78.3%, 0%, 22.4%)
CIE-LABlab(41.67, 65.82, -59.40)
CIE-LCHlch(41.67, 88.66, 317.93°)
OKLaboklab(52.69% 0.1537 -0.1682)
OKLCHoklch(52.69% 0.228 312.4)
XYZxyz(23.6327, 12.2897, 54.5424)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962BC6 #5BC62B
analogous
#482BC6 #962BC6 #C62BA9
triadic
#962BC6 #C6962B #2BC696
tetradic
#962BC6 #C6482B #5BC62B #2BA9C6
square
#962BC6 #C6482B #5BC62B #2BA9C6
split-complementary
#962BC6 #A9C62B #2BC648
monochromatic
#4A1561 #702094 #962BC6 #B154DA #C887E5

Accessibility & contrast

On white

6.07
#962BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#962BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962BC6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962BC6#FFFFFF#000000##FFFFFF
##962BC61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0D64C3
Tritanopia (blue-blind)
#905179
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #962bc6;
/* rgb */ color: rgb(150, 43, 198);
/* oklch */ color: oklch(52.7% 0.228 312.4);
Tailwind
colors: {
  custom: {
    50: '#ba71d8',
    500: '#962bc6',
    950: '#000000',
  },
}
SCSS
$custom: #962bc6;
$custom-light: #ba71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#962bc6",
  "rgb": {
    "r": 150,
    "g": 43,
    "b": 198
  },
  "hsl": {
    "h": 281.419,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.22785,
    "h": 312.4
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#962BC6
secondary
#97CE7F
accent
#E74074
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #962BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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