#962791#962791

#962791 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.188 H 330.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#962791
RGBrgb(150, 39, 145)
HSLhsl(303, 59%, 37%)
HSVhsv(303, 74%, 59%)
CMYKcmyk(0%, 74%, 3.3%, 41.2%)
CIE-LABlab(37.81, 57.39, -34.01)
CIE-LCHlch(37.81, 66.71, 329.34°)
OKLaboklab(48.86% 0.1624 -0.0939)
OKLCHoklch(48.86% 0.188 330)
XYZxyz(18.4139, 9.9808, 27.7392)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962791 #27962C
analogous
#642796 #962791 #962759
triadic
#962791 #919627 #279196
tetradic
#962791 #966427 #27962C #275996
square
#962791 #966427 #27962C #275996
split-complementary
#962791 #599627 #279664
monochromatic
#350E33 #651A62 #962791 #C734C0 #D661D1

Accessibility & contrast

On white

7.01
#962791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#962791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962791
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962791#FFFFFF#000000##FFFFFF
##9627911.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F94
Deuteranopia (green-blind)
#485E8E
Tritanopia (blue-blind)
#9C365A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962791;
/* rgb */ color: rgb(150, 39, 145);
/* oklch */ color: oklch(48.9% 0.188 330.0);
Tailwind
colors: {
  custom: {
    50: '#b86db1',
    500: '#962791',
    950: '#000000',
  },
}
SCSS
$custom: #962791;
$custom-light: #b86db1;
$custom-dark: #000000;
JSON
{
  "hex": "#962791",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 302.703,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.1876,
    "h": 330
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#962791
secondary
#5DBC62
accent
#E24D46
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #962791

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

Preview Lab → · Contrast checker → · Palette generator →

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