#962FB8#962FB8

#962FB8 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.211 H 316.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#962FB8
RGBrgb(150, 47, 184)
HSLhsl(285, 59%, 45%)
HSVhsv(285, 74%, 72%)
CMYKcmyk(18.5%, 74.5%, 0%, 27.8%)
CIE-LABlab(41.18, 61.65, -52.00)
CIE-LCHlch(41.18, 80.65, 319.86°)
OKLaboklab(52.03% 0.1526 -0.1465)
OKLCHoklch(52.03% 0.211 316.2)
XYZxyz(22.2446, 11.9786, 46.4785)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FB8 #51B82F
analogous
#512FB8 #962FB8 #B82F96
triadic
#962FB8 #B8962F #2FB896
tetradic
#962FB8 #B8512F #51B82F #2F96B8
square
#962FB8 #B8512F #51B82F #2F96B8
split-complementary
#962FB8 #96B82F #2FB851
monochromatic
#471657 #6E2387 #962FB8 #B352D3 #C882DF

Accessibility & contrast

On white

6.18
#962FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#962FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FB8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FB8#FFFFFF#000000##FFFFFF
##962FB81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#944D72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #962fb8;
/* rgb */ color: rgb(150, 47, 184);
/* oklch */ color: oklch(52.0% 0.211 316.2);
Tailwind
colors: {
  custom: {
    50: '#b972ce',
    500: '#962fb8',
    950: '#000000',
  },
}
SCSS
$custom: #962fb8;
$custom-light: #b972ce;
$custom-dark: #000000;
JSON
{
  "hex": "#962fb8",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 285.109,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52032,
    "c": 0.21148,
    "h": 316.2
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#962FB8
secondary
#8EC87B
accent
#E2456C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #962FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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