#962988#962988

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

Color values

HEX#962988
RGBrgb(150, 41, 136)
HSLhsl(308, 57%, 37%)
HSVhsv(308, 73%, 59%)
CMYKcmyk(0%, 72.7%, 9.3%, 41.2%)
CIE-LABlab(37.57, 55.24, -28.87)
CIE-LCHlch(37.57, 62.33, 332.41°)
OKLaboklab(48.53% 0.1599 -0.0791)
OKLCHoklch(48.53% 0.178 333.7)
XYZxyz(17.8147, 9.8490, 24.2506)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962988 #299637
analogous
#6D2996 #962988 #962952
triadic
#962988 #889629 #298896
tetradic
#962988 #966D29 #299637 #295296
square
#962988 #966D29 #299637 #295296
split-complementary
#962988 #529629 #29966D
monochromatic
#360F31 #661C5C #962988 #C636B4 #D565C6

Accessibility & contrast

On white

7.07
#962988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#962988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962988
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962988#FFFFFF#000000##FFFFFF
##9629881.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8B
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#9D3355
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #962988;
/* rgb */ color: rgb(150, 41, 136);
/* oklch */ color: oklch(48.5% 0.178 333.7);
Tailwind
colors: {
  custom: {
    50: '#b86eab',
    500: '#962988',
    950: '#000000',
  },
}
SCSS
$custom: #962988;
$custom-light: #b86eab;
$custom-dark: #000000;
JSON
{
  "hex": "#962988",
  "rgb": {
    "r": 150,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 307.706,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.17841,
    "h": 333.7
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#962988
secondary
#60BB6C
accent
#E05B47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962988

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

Preview Lab → · Contrast checker → · Palette generator →

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