#962AC2#962AC2

#962AC2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.225 H 313.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#962AC2
RGBrgb(150, 42, 194)
HSLhsl(283, 64%, 46%)
HSVhsv(283, 78%, 76%)
CMYKcmyk(22.7%, 78.4%, 0%, 23.9%)
CIE-LABlab(41.27, 65.35, -57.72)
CIE-LCHlch(41.27, 87.19, 318.55°)
OKLaboklab(52.31% 0.1553 -0.1632)
OKLCHoklch(52.31% 0.225 313.6)
XYZxyz(23.1415, 12.0358, 52.1326)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962AC2 #56C22A
analogous
#4A2AC2 #962AC2 #C22AA2
triadic
#962AC2 #C2962A #2AC296
tetradic
#962AC2 #C24A2A #56C22A #2AA2C2
square
#962AC2 #C24A2A #56C22A #2AA2C2
split-complementary
#962AC2 #A2C22A #2AC24A
monochromatic
#48145D #6F1F90 #962AC2 #B150D9 #C882E4

Accessibility & contrast

On white

6.16
#962AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#962AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962AC2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962AC2#FFFFFF#000000##FFFFFF
##962AC21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#1864BF
Tritanopia (blue-blind)
#914F76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #962ac2;
/* rgb */ color: rgb(150, 42, 194);
/* oklch */ color: oklch(52.3% 0.225 313.6);
Tailwind
colors: {
  custom: {
    50: '#ba70d5',
    500: '#962ac2',
    950: '#000000',
  },
}
SCSS
$custom: #962ac2;
$custom-light: #ba70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#962ac2",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 282.632,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52314,
    "c": 0.2253,
    "h": 313.6
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#962AC2
secondary
#93CD7B
accent
#E74071
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #962AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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