#962EC2#962EC2

#962EC2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.221 H 313.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#962EC2
RGBrgb(150, 46, 194)
HSLhsl(282, 62%, 47%)
HSVhsv(282, 76%, 76%)
CMYKcmyk(22.7%, 76.3%, 0%, 23.9%)
CIE-LABlab(41.74, 64.00, -56.96)
CIE-LCHlch(41.74, 85.67, 318.33°)
OKLaboklab(52.64% 0.152 -0.161)
OKLCHoklch(52.64% 0.221 313.3)
XYZxyz(23.2906, 12.3338, 52.1823)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962EC2 #5AC22E
analogous
#4C2EC2 #962EC2 #C22EA4
triadic
#962EC2 #C2962E #2EC296
tetradic
#962EC2 #C24C2E #5AC22E #2EA4C2
square
#962EC2 #C24C2E #5AC22E #2EA4C2
split-complementary
#962EC2 #A4C22E #2EC24C
monochromatic
#4A175F #702291 #962EC2 #B156D7 #C888E3

Accessibility & contrast

On white

6.06
#962EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#962EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962EC2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962EC2#FFFFFF#000000##FFFFFF
##962EC21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1D65BF
Tritanopia (blue-blind)
#915077
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #962ec2;
/* rgb */ color: rgb(150, 46, 194);
/* oklch */ color: oklch(52.6% 0.221 313.3);
Tailwind
colors: {
  custom: {
    50: '#ba72d5',
    500: '#962ec2',
    950: '#000000',
  },
}
SCSS
$custom: #962ec2;
$custom-light: #ba72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#962ec2",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 282.162,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.22141,
    "h": 313.3
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#962EC2
secondary
#96CC7F
accent
#E54373
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #962EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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