#962287#962287

#962287 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.185 H 334.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#962287
RGBrgb(150, 34, 135)
HSLhsl(308, 63%, 36%)
HSVhsv(308, 77%, 59%)
CMYKcmyk(0%, 77.3%, 10%, 41.2%)
CIE-LABlab(36.70, 57.40, -29.62)
CIE-LCHlch(36.70, 64.59, 332.71°)
OKLaboklab(47.89% 0.1667 -0.0812)
OKLCHoklch(47.89% 0.185 334)
XYZxyz(17.5230, 9.3789, 23.8044)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962287 #229631
analogous
#6B2296 #962287 #96224D
triadic
#962287 #879622 #228796
tetradic
#962287 #966B22 #229631 #224D96
square
#962287 #966B22 #229631 #224D96
split-complementary
#962287 #4D9622 #22966B
monochromatic
#320B2D #64175A #962287 #C82DB4 #D959C9

Accessibility & contrast

On white

7.30
#962287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#962287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962287
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962287#FFFFFF#000000##FFFFFF
##9622871.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #962287;
/* rgb */ color: rgb(150, 34, 135);
/* oklch */ color: oklch(47.9% 0.185 334.0);
Tailwind
colors: {
  custom: {
    50: '#b96baa',
    500: '#962287',
    950: '#000000',
  },
}
SCSS
$custom: #962287;
$custom-light: #b96baa;
$custom-dark: #000000;
JSON
{
  "hex": "#962287",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 307.759,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47894,
    "c": 0.18539,
    "h": 334
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#962287
secondary
#56BE64
accent
#E65742
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #962287

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

Preview Lab → · Contrast checker → · Palette generator →

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