#962EA8#962EA8

#962EA8 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.199 H 321.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#962EA8
RGBrgb(150, 46, 168)
HSLhsl(291, 57%, 42%)
HSVhsv(291, 73%, 66%)
CMYKcmyk(10.7%, 72.6%, 0%, 34.1%)
CIE-LABlab(40.03, 58.96, -44.37)
CIE-LCHlch(40.03, 73.79, 323.03°)
OKLaboklab(50.88% 0.155 -0.1241)
OKLCHoklch(50.88% 0.199 321.3)
XYZxyz(20.6218, 11.2663, 38.1266)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962EA8 #40A82E
analogous
#592EA8 #962EA8 #A82E7D
triadic
#962EA8 #A8962E #2EA896
tetradic
#962EA8 #A8592E #40A82E #2E7DA8
square
#962EA8 #A8592E #40A82E #2E7DA8
split-complementary
#962EA8 #7DA82E #2EA859
monochromatic
#401448 #6B2178 #962EA8 #B947CD #CB77DA

Accessibility & contrast

On white

6.46
#962EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#962EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962EA8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962EA8#FFFFFF#000000##FFFFFF
##962EA81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#3D62A5
Tritanopia (blue-blind)
#974568
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #962ea8;
/* rgb */ color: rgb(150, 46, 168);
/* oklch */ color: oklch(50.9% 0.199 321.3);
Tailwind
colors: {
  custom: {
    50: '#b871c2',
    500: '#962ea8',
    950: '#000000',
  },
}
SCSS
$custom: #962ea8;
$custom-light: #b871c2;
$custom-dark: #000000;
JSON
{
  "hex": "#962ea8",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 291.148,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.1986,
    "h": 321.3
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#962EA8
secondary
#7CC270
accent
#E0485E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #962EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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