#962C87#962C87

#962C87 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.174 H 334.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#962C87
RGBrgb(150, 44, 135)
HSLhsl(308, 55%, 38%)
HSVhsv(308, 71%, 59%)
CMYKcmyk(0%, 70.7%, 10%, 41.2%)
CIE-LABlab(37.91, 53.98, -27.72)
CIE-LCHlch(37.91, 60.69, 332.82°)
OKLaboklab(48.76% 0.1566 -0.0758)
OKLCHoklch(48.76% 0.174 334.2)
XYZxyz(17.8517, 10.0362, 23.9139)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962C87 #2C963B
analogous
#702C96 #962C87 #962C52
triadic
#962C87 #87962C #2C8796
tetradic
#962C87 #96702C #2C963B #2C5296
square
#962C87 #96702C #2C963B #2C5296
split-complementary
#962C87 #52962C #2C9670
monochromatic
#371032 #671E5C #962C87 #C53AB2 #D369C4

Accessibility & contrast

On white

6.98
#962C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#962C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962C87
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962C87#FFFFFF#000000##FFFFFF
##962C871.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#9D3556
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962c87;
/* rgb */ color: rgb(150, 44, 135);
/* oklch */ color: oklch(48.8% 0.174 334.2);
Tailwind
colors: {
  custom: {
    50: '#b86faa',
    500: '#962c87',
    950: '#000000',
  },
}
SCSS
$custom: #962c87;
$custom-light: #b86faa;
$custom-dark: #000000;
JSON
{
  "hex": "#962c87",
  "rgb": {
    "r": 150,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 308.491,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.174,
    "h": 334.2
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#962C87
secondary
#64BA70
accent
#DE5F4A
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962C87

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

Preview Lab → · Contrast checker → · Palette generator →

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