#962EC3#962EC3

#962EC3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.222 H 313.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#962EC3
RGBrgb(150, 46, 195)
HSLhsl(282, 62%, 47%)
HSVhsv(282, 76%, 76%)
CMYKcmyk(23.1%, 76.4%, 0%, 23.5%)
CIE-LABlab(41.81, 64.20, -57.43)
CIE-LCHlch(41.81, 86.14, 318.19°)
OKLaboklab(52.72% 0.1518 -0.1624)
OKLCHoklch(52.72% 0.222 313.1)
XYZxyz(23.4032, 12.3789, 52.7757)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962EC3 #5BC32E
analogous
#4B2EC3 #962EC3 #C32EA6
triadic
#962EC3 #C3962E #2EC396
tetradic
#962EC3 #C34B2E #5BC32E #2EA6C3
square
#962EC3 #C34B2E #5BC32E #2EA6C3
split-complementary
#962EC3 #A6C32E #2EC34B
monochromatic
#4A1760 #702291 #962EC3 #B157D7 #C888E3

Accessibility & contrast

On white

6.04
#962EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#962EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962EC3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962EC3#FFFFFF#000000##FFFFFF
##962EC31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#1B65C0
Tritanopia (blue-blind)
#915178
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #962ec3;
/* rgb */ color: rgb(150, 46, 195);
/* oklch */ color: oklch(52.7% 0.222 313.1);
Tailwind
colors: {
  custom: {
    50: '#ba72d6',
    500: '#962ec3',
    950: '#000000',
  },
}
SCSS
$custom: #962ec3;
$custom-light: #ba72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#962ec3",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 281.879,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52716,
    "c": 0.2223,
    "h": 313.1
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#962EC3
secondary
#97CD80
accent
#E54374
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #962EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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