#962987#962987

#962987 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.178 H 334.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#962987
RGBrgb(150, 41, 135)
HSLhsl(308, 57%, 37%)
HSVhsv(308, 73%, 59%)
CMYKcmyk(0%, 72.7%, 10%, 41.2%)
CIE-LABlab(37.52, 55.08, -28.33)
CIE-LCHlch(37.52, 61.94, 332.78°)
OKLaboklab(48.48% 0.1599 -0.0775)
OKLCHoklch(48.48% 0.178 334.1)
XYZxyz(17.7439, 9.8207, 23.8780)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962987 #299638
analogous
#6F2996 #962987 #962950
triadic
#962987 #879629 #298796
tetradic
#962987 #966F29 #299638 #295096
square
#962987 #966F29 #299638 #295096
split-complementary
#962987 #509629 #29966F
monochromatic
#360F30 #661C5C #962987 #C636B2 #D565C5

Accessibility & contrast

On white

7.09
#962987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#962987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962987
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962987#FFFFFF#000000##FFFFFF
##9629871.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#9D3255
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #962987;
/* rgb */ color: rgb(150, 41, 135);
/* oklch */ color: oklch(48.5% 0.178 334.1);
Tailwind
colors: {
  custom: {
    50: '#b86eaa',
    500: '#962987',
    950: '#000000',
  },
}
SCSS
$custom: #962987;
$custom-light: #b86eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#962987",
  "rgb": {
    "r": 150,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 308.257,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4848,
    "c": 0.17766,
    "h": 334.1
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#962987
secondary
#60BB6D
accent
#E05D47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962987

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

Preview Lab → · Contrast checker → · Palette generator →

#962987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva