#962187#962187

#962187 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.186 H 334.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#962187
RGBrgb(150, 33, 135)
HSLhsl(308, 64%, 36%)
HSVhsv(308, 78%, 59%)
CMYKcmyk(0%, 78%, 10%, 41.2%)
CIE-LABlab(36.60, 57.70, -29.78)
CIE-LCHlch(36.60, 64.94, 332.70°)
OKLaboklab(47.82% 0.1676 -0.0816)
OKLCHoklch(47.82% 0.186 334)
XYZxyz(17.4949, 9.3226, 23.7950)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962187 #219630
analogous
#6A2196 #962187 #96214C
triadic
#962187 #879621 #218796
tetradic
#962187 #966A21 #219630 #214C96
square
#962187 #966A21 #219630 #214C96
split-complementary
#962187 #4C9621 #21966A
monochromatic
#320B2D #64165A #962187 #C82CB4 #DA57C9

Accessibility & contrast

On white

7.33
#962187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#962187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962187
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962187#FFFFFF#000000##FFFFFF
##9621871.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#9D2D53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #962187;
/* rgb */ color: rgb(150, 33, 135);
/* oklch */ color: oklch(47.8% 0.186 334.0);
Tailwind
colors: {
  custom: {
    50: '#b96aaa',
    500: '#962187',
    950: '#000000',
  },
}
SCSS
$custom: #962187;
$custom-light: #b96aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#962187",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 307.692,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.1864,
    "h": 334
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#962187
secondary
#55BE62
accent
#E75641
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #962187

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

Preview Lab → · Contrast checker → · Palette generator →

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