#962EA7#962EA7

#962EA7 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.198 H 321.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#962EA7
RGBrgb(150, 46, 167)
HSLhsl(292, 57%, 42%)
HSVhsv(292, 72%, 65%)
CMYKcmyk(10.2%, 72.5%, 0%, 34.5%)
CIE-LABlab(39.96, 58.77, -43.87)
CIE-LCHlch(39.96, 73.34, 323.26°)
OKLaboklab(50.82% 0.1551 -0.1227)
OKLCHoklch(50.82% 0.198 321.7)
XYZxyz(20.5290, 11.2292, 37.6379)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962EA7 #3FA72E
analogous
#592EA7 #962EA7 #A72E7C
triadic
#962EA7 #A7962E #2EA796
tetradic
#962EA7 #A7592E #3FA72E #2E7CA7
square
#962EA7 #A7592E #3FA72E #2E7CA7
split-complementary
#962EA7 #7CA72E #2EA759
monochromatic
#401447 #6B2177 #962EA7 #B946CC #CB76D9

Accessibility & contrast

On white

6.47
#962EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #962EA7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962EA7#FFFFFF#000000##FFFFFF
##962EA71.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#3E62A4
Tritanopia (blue-blind)
#984468
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #962ea7;
/* rgb */ color: rgb(150, 46, 167);
/* oklch */ color: oklch(50.8% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#b871c2',
    500: '#962ea7',
    950: '#000000',
  },
}
SCSS
$custom: #962ea7;
$custom-light: #b871c2;
$custom-dark: #000000;
JSON
{
  "hex": "#962ea7",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 291.57,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50817,
    "c": 0.19773,
    "h": 321.7
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#962EA7
secondary
#7BC170
accent
#E0485D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #962EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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