#962F87#962F87

#962F87 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.170 H 334.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#962F87
RGBrgb(150, 47, 135)
HSLhsl(309, 52%, 39%)
HSVhsv(309, 69%, 59%)
CMYKcmyk(0%, 68.7%, 10%, 41.2%)
CIE-LABlab(38.32, 52.83, -27.08)
CIE-LCHlch(38.32, 59.36, 332.86°)
OKLaboklab(49.06% 0.1532 -0.074)
OKLCHoklch(49.06% 0.17 334.2)
XYZxyz(17.9675, 10.2678, 23.9525)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962F87 #2F963E
analogous
#712F96 #962F87 #962F53
triadic
#962F87 #87962F #2F8796
tetradic
#962F87 #96712F #2F963E #2F5396
square
#962F87 #96712F #2F963E #2F5396
split-complementary
#962F87 #53962F #2F9671
monochromatic
#391233 #67205D #962F87 #C33FB0 #D26EC3

Accessibility & contrast

On white

6.88
#962F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#962F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962F87
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962F87#FFFFFF#000000##FFFFFF
##962F871.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D518A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#9D3757
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962f87;
/* rgb */ color: rgb(150, 47, 135);
/* oklch */ color: oklch(49.1% 0.170 334.2);
Tailwind
colors: {
  custom: {
    50: '#b870aa',
    500: '#962f87',
    950: '#000000',
  },
}
SCSS
$custom: #962f87;
$custom-light: #b870aa;
$custom-dark: #000000;
JSON
{
  "hex": "#962f87",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 308.738,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.17016,
    "h": 334.2
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#962F87
secondary
#68B974
accent
#DC614C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962F87

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

Preview Lab → · Contrast checker → · Palette generator →

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