#962F9B#962F9B

#962F9B is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.186 H 325.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#962F9B
RGBrgb(150, 47, 155)
HSLhsl(297, 53%, 40%)
HSVhsv(297, 70%, 61%)
CMYKcmyk(3.2%, 69.7%, 0%, 39.2%)
CIE-LABlab(39.39, 56.21, -37.59)
CIE-LCHlch(39.39, 67.62, 326.23°)
OKLaboklab(50.18% 0.1544 -0.1043)
OKLCHoklch(50.18% 0.186 325.9)
XYZxyz(19.5102, 10.8849, 32.0774)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962F9B #349B2F
analogous
#602F9B #962F9B #9B2F6A
triadic
#962F9B #9B962F #2F9B96
tetradic
#962F9B #9B602F #349B2F #2F6A9B
square
#962F9B #9B602F #349B2F #2F6A9B
split-complementary
#962F9B #6A9B2F #2F9B60
monochromatic
#3B133D #69216C #962F9B #BF42C6 #CF71D4

Accessibility & contrast

On white

6.61
#962F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#962F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962F9B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962F9B#FFFFFF#000000##FFFFFF
##962F9B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#9A4061
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #962f9b;
/* rgb */ color: rgb(150, 47, 155);
/* oklch */ color: oklch(50.2% 0.186 325.9);
Tailwind
colors: {
  custom: {
    50: '#b871b9',
    500: '#962f9b',
    950: '#000000',
  },
}
SCSS
$custom: #962f9b;
$custom-light: #b871b9;
$custom-dark: #000000;
JSON
{
  "hex": "#962f9b",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 297.222,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.18632,
    "h": 325.9
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#962F9B
secondary
#6EBB6A
accent
#DD4B52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962F9B

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

Preview Lab → · Contrast checker → · Palette generator →

#962F9B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva