#962888#962888

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

Color values

HEX#962888
RGBrgb(150, 40, 136)
HSLhsl(308, 58%, 37%)
HSVhsv(308, 73%, 59%)
CMYKcmyk(0%, 73.3%, 9.3%, 41.2%)
CIE-LABlab(37.45, 55.59, -29.06)
CIE-LCHlch(37.45, 62.73, 332.40°)
OKLaboklab(48.44% 0.161 -0.0796)
OKLCHoklch(48.44% 0.18 333.7)
XYZxyz(17.7805, 9.7807, 24.2392)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962888 #289636
analogous
#6D2896 #962888 #962851
triadic
#962888 #889628 #288896
tetradic
#962888 #966D28 #289636 #285196
square
#962888 #966D28 #289636 #285196
split-complementary
#962888 #519628 #28966D
monochromatic
#350E30 #661B5C #962888 #C635B4 #D563C7

Accessibility & contrast

On white

7.10
#962888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #962888
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962888#FFFFFF#000000##FFFFFF
##9628881.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #962888;
/* rgb */ color: rgb(150, 40, 136);
/* oklch */ color: oklch(48.4% 0.180 333.7);
Tailwind
colors: {
  custom: {
    50: '#b86dab',
    500: '#962888',
    950: '#000000',
  },
}
SCSS
$custom: #962888;
$custom-light: #b86dab;
$custom-dark: #000000;
JSON
{
  "hex": "#962888",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 307.636,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48444,
    "c": 0.17958,
    "h": 333.7
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#962888
secondary
#5FBB6A
accent
#E15A47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962888

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

Preview Lab → · Contrast checker → · Palette generator →

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