#962787#962787

#962787 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.180 H 334.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#962787
RGBrgb(150, 39, 135)
HSLhsl(308, 59%, 37%)
HSVhsv(308, 74%, 59%)
CMYKcmyk(0%, 74%, 10%, 41.2%)
CIE-LABlab(37.27, 55.78, -28.72)
CIE-LCHlch(37.27, 62.74, 332.76°)
OKLaboklab(48.3% 0.1619 -0.0786)
OKLCHoklch(48.3% 0.18 334.1)
XYZxyz(17.6765, 9.6859, 23.8556)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962787 #279636
analogous
#6E2796 #962787 #962750
triadic
#962787 #879627 #278796
tetradic
#962787 #966E27 #279636 #275096
square
#962787 #966E27 #279636 #275096
split-complementary
#962787 #509627 #27966E
monochromatic
#350E30 #651A5B #962787 #C734B3 #D661C6

Accessibility & contrast

On white

7.15
#962787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#962787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962787
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962787#FFFFFF#000000##FFFFFF
##9627871.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#9D3154
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #962787;
/* rgb */ color: rgb(150, 39, 135);
/* oklch */ color: oklch(48.3% 0.180 334.1);
Tailwind
colors: {
  custom: {
    50: '#b86daa',
    500: '#962787',
    950: '#000000',
  },
}
SCSS
$custom: #962787;
$custom-light: #b86daa;
$custom-dark: #000000;
JSON
{
  "hex": "#962787",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 308.108,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.17998,
    "h": 334.1
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#962787
secondary
#5DBC6A
accent
#E25B46
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962787

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

Preview Lab → · Contrast checker → · Palette generator →

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