#962796#962796

#962796 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.192 H 328.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#962796
RGBrgb(150, 39, 150)
HSLhsl(300, 59%, 37%)
HSVhsv(300, 74%, 59%)
CMYKcmyk(0%, 74%, 0%, 41.2%)
CIE-LABlab(38.09, 58.22, -36.62)
CIE-LCHlch(38.09, 68.78, 327.83°)
OKLaboklab(49.15% 0.1624 -0.1014)
OKLCHoklch(49.15% 0.192 328)
XYZxyz(18.8080, 10.1384, 29.8146)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962796 #279627
analogous
#5F2796 #962796 #96275F
triadic
#962796 #969627 #279696
tetradic
#962796 #965F27 #279627 #275F96
square
#962796 #965F27 #279627 #275F96
split-complementary
#962796 #5F9627 #27965F
monochromatic
#350E35 #651A65 #962796 #C734C7 #D661D6

Accessibility & contrast

On white

6.94
#962796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#962796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962796
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962796#FFFFFF#000000##FFFFFF
##9627961.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105099
Deuteranopia (green-blind)
#455F93
Tritanopia (blue-blind)
#9B385C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962796;
/* rgb */ color: rgb(150, 39, 150);
/* oklch */ color: oklch(49.2% 0.192 328.0);
Tailwind
colors: {
  custom: {
    50: '#b86db5',
    500: '#962796',
    950: '#000000',
  },
}
SCSS
$custom: #962796;
$custom-light: #b86db5;
$custom-dark: #000000;
JSON
{
  "hex": "#962796",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 300,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.19152,
    "h": 328
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#962796
secondary
#5DBC5D
accent
#E24646
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962796

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

Preview Lab → · Contrast checker → · Palette generator →

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