#962A8A#962A8A

#962A8A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.179 H 332.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#962A8A
RGBrgb(150, 42, 138)
HSLhsl(307, 56%, 38%)
HSVhsv(307, 72%, 59%)
CMYKcmyk(0%, 72%, 8%, 41.2%)
CIE-LABlab(37.80, 55.20, -29.74)
CIE-LCHlch(37.80, 62.70, 331.69°)
OKLaboklab(48.73% 0.159 -0.0816)
OKLCHoklch(48.73% 0.179 332.8)
XYZxyz(17.9932, 9.9764, 25.0178)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A8A #2A9636
analogous
#6C2A96 #962A8A #962A54
triadic
#962A8A #8A962A #2A8A96
tetradic
#962A8A #966C2A #2A9636 #2A5496
square
#962A8A #966C2A #2A9636 #2A5496
split-complementary
#962A8A #54962A #2A966C
monochromatic
#360F32 #661D5E #962A8A #C637B6 #D466C8

Accessibility & contrast

On white

7.01
#962A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#962A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962A8A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A8A#FFFFFF#000000##FFFFFF
##962A8A1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#9D3557
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962a8a;
/* rgb */ color: rgb(150, 42, 138);
/* oklch */ color: oklch(48.7% 0.179 332.8);
Tailwind
colors: {
  custom: {
    50: '#b86eac',
    500: '#962a8a',
    950: '#000000',
  },
}
SCSS
$custom: #962a8a;
$custom-light: #b86eac;
$custom-dark: #000000;
JSON
{
  "hex": "#962a8a",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 306.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48733,
    "c": 0.17874,
    "h": 332.8
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#962A8A
secondary
#61BA6B
accent
#E05948
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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