#962D87#962D87

#962D87 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.173 H 334.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#962D87
RGBrgb(150, 45, 135)
HSLhsl(309, 54%, 38%)
HSVhsv(309, 70%, 59%)
CMYKcmyk(0%, 70%, 10%, 41.2%)
CIE-LABlab(38.04, 53.60, -27.51)
CIE-LCHlch(38.04, 60.25, 332.83°)
OKLaboklab(48.86% 0.1555 -0.0752)
OKLCHoklch(48.86% 0.173 334.2)
XYZxyz(17.8894, 10.1116, 23.9265)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962D87 #2D963C
analogous
#702D96 #962D87 #962D53
triadic
#962D87 #87962D #2D8796
tetradic
#962D87 #96702D #2D963C #2D5396
square
#962D87 #96702D #2D963C #2D5396
split-complementary
#962D87 #53962D #2D9670
monochromatic
#381132 #671F5D #962D87 #C43CB1 #D36BC4

Accessibility & contrast

On white

6.95
#962D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#962D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962D87
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962D87#FFFFFF#000000##FFFFFF
##962D871.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#9D3656
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962d87;
/* rgb */ color: rgb(150, 45, 135);
/* oklch */ color: oklch(48.9% 0.173 334.2);
Tailwind
colors: {
  custom: {
    50: '#b86faa',
    500: '#962d87',
    950: '#000000',
  },
}
SCSS
$custom: #962d87;
$custom-light: #b86faa;
$custom-dark: #000000;
JSON
{
  "hex": "#962d87",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 308.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48858,
    "c": 0.17274,
    "h": 334.2
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#962D87
secondary
#65B971
accent
#DD604B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962D87

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

Preview Lab → · Contrast checker → · Palette generator →

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