#962F8A#962F8A

#962F8A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.2% C 0.172 H 332.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#962F8A
RGBrgb(150, 47, 138)
HSLhsl(307, 52%, 39%)
HSVhsv(307, 69%, 59%)
CMYKcmyk(0%, 68.7%, 8%, 41.2%)
CIE-LABlab(38.47, 53.31, -28.69)
CIE-LCHlch(38.47, 60.54, 331.72°)
OKLaboklab(49.22% 0.1535 -0.0786)
OKLCHoklch(49.22% 0.172 332.9)
XYZxyz(18.1817, 10.3535, 25.0807)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962F8A #2F963B
analogous
#6E2F96 #962F8A #962F56
triadic
#962F8A #8A962F #2F8A96
tetradic
#962F8A #966E2F #2F963B #2F5696
square
#962F8A #966E2F #2F963B #2F5696
split-complementary
#962F8A #56962F #2F966E
monochromatic
#391234 #67205F #962F8A #C33FB4 #D26EC6

Accessibility & contrast

On white

6.84
#962F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#962F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962F8A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962F8A#FFFFFF#000000##FFFFFF
##962F8A1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#9D3858
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #962f8a;
/* rgb */ color: rgb(150, 47, 138);
/* oklch */ color: oklch(49.2% 0.172 332.9);
Tailwind
colors: {
  custom: {
    50: '#b870ac',
    500: '#962f8a',
    950: '#000000',
  },
}
SCSS
$custom: #962f8a;
$custom-light: #b870ac;
$custom-dark: #000000;
JSON
{
  "hex": "#962f8a",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 306.99,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49217,
    "c": 0.17248,
    "h": 332.9
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #962F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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