#962286#962286

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

Color values

HEX#962286
RGBrgb(150, 34, 134)
HSLhsl(308, 63%, 36%)
HSVhsv(308, 77%, 59%)
CMYKcmyk(0%, 77.3%, 10.7%, 41.2%)
CIE-LABlab(36.65, 57.25, -29.08)
CIE-LCHlch(36.65, 64.21, 333.07°)
OKLaboklab(47.84% 0.1666 -0.0796)
OKLCHoklch(47.84% 0.185 334.5)
XYZxyz(17.4530, 9.3509, 23.4353)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962286 #229632
analogous
#6C2296 #962286 #96224C
triadic
#962286 #869622 #228696
tetradic
#962286 #966C22 #229632 #224C96
square
#962286 #966C22 #229632 #224C96
split-complementary
#962286 #4C9622 #22966C
monochromatic
#320B2D #641759 #962286 #C82DB3 #D959C8

Accessibility & contrast

On white

7.32
#962286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#962286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962286
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962286#FFFFFF#000000##FFFFFF
##9622861.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B89
Deuteranopia (green-blind)
#4C5C83
Tritanopia (blue-blind)
#9D2D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #962286;
/* rgb */ color: rgb(150, 34, 134);
/* oklch */ color: oklch(47.8% 0.185 334.5);
Tailwind
colors: {
  custom: {
    50: '#b96ba9',
    500: '#962286',
    950: '#000000',
  },
}
SCSS
$custom: #962286;
$custom-light: #b96ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#962286",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 308.276,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47839,
    "c": 0.18467,
    "h": 334.5
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #962286

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

Preview Lab → · Contrast checker → · Palette generator →

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