#962F8B#962F8B

#962F8B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.173 H 332.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#962F8B
RGBrgb(150, 47, 139)
HSLhsl(306, 52%, 39%)
HSVhsv(306, 69%, 59%)
CMYKcmyk(0%, 68.7%, 7.3%, 41.2%)
CIE-LABlab(38.52, 53.48, -29.22)
CIE-LCHlch(38.52, 60.94, 331.35°)
OKLaboklab(49.27% 0.1536 -0.0801)
OKLCHoklch(49.27% 0.173 332.5)
XYZxyz(18.2544, 10.3826, 25.4637)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962F8B #2F963A
analogous
#6D2F96 #962F8B #962F57
triadic
#962F8B #8B962F #2F8B96
tetradic
#962F8B #966D2F #2F963A #2F5796
square
#962F8B #966D2F #2F963A #2F5796
split-complementary
#962F8B #57962F #2F966D
monochromatic
#391235 #672060 #962F8B #C33FB5 #D26EC7

Accessibility & contrast

On white

6.83
#962F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#962F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962F8B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962F8B#FFFFFF#000000##FFFFFF
##962F8B1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#9C3959
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #962f8b;
/* rgb */ color: rgb(150, 47, 139);
/* oklch */ color: oklch(49.3% 0.173 332.5);
Tailwind
colors: {
  custom: {
    50: '#b870ad',
    500: '#962f8b',
    950: '#000000',
  },
}
SCSS
$custom: #962f8b;
$custom-light: #b870ad;
$custom-dark: #000000;
JSON
{
  "hex": "#962f8b",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 306.408,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49271,
    "c": 0.17327,
    "h": 332.5
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#962F8B
secondary
#68B971
accent
#DC5B4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #962F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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