#962AC6#962AC6

#962AC6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.229 H 312.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#962AC6
RGBrgb(150, 42, 198)
HSLhsl(282, 65%, 47%)
HSVhsv(282, 79%, 78%)
CMYKcmyk(24.2%, 78.8%, 0%, 22.4%)
CIE-LABlab(41.56, 66.14, -59.58)
CIE-LCHlch(41.56, 89.02, 317.99°)
OKLaboklab(52.61% 0.1545 -0.1687)
OKLCHoklch(52.61% 0.229 312.5)
XYZxyz(23.5968, 12.2179, 54.5304)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962AC6 #5AC62A
analogous
#482AC6 #962AC6 #C62AA8
triadic
#962AC6 #C6962A #2AC696
tetradic
#962AC6 #C6482A #5AC62A #2AA8C6
square
#962AC6 #C6482A #5AC62A #2AA8C6
split-complementary
#962AC6 #A8C62A #2AC648
monochromatic
#491561 #701F94 #962AC6 #B153DA #C885E5

Accessibility & contrast

On white

6.10
#962AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#962AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962AC6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962AC6#FFFFFF#000000##FFFFFF
##962AC61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #962ac6;
/* rgb */ color: rgb(150, 42, 198);
/* oklch */ color: oklch(52.6% 0.229 312.5);
Tailwind
colors: {
  custom: {
    50: '#ba71d8',
    500: '#962ac6',
    950: '#000000',
  },
}
SCSS
$custom: #962ac6;
$custom-light: #ba71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#962ac6",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 198
  },
  "hsl": {
    "h": 281.538,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.22878,
    "h": 312.5
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#962AC6
secondary
#96CE7D
accent
#E84074
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #962AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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