#962A98#962A98

#962A98 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.190 H 327.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#962A98
RGBrgb(150, 42, 152)
HSLhsl(299, 57%, 38%)
HSVhsv(299, 72%, 60%)
CMYKcmyk(1.3%, 72.4%, 0%, 40.4%)
CIE-LABlab(38.57, 57.53, -37.07)
CIE-LCHlch(38.57, 68.44, 327.20°)
OKLaboklab(49.53% 0.1595 -0.1028)
OKLCHoklch(49.53% 0.19 327.2)
XYZxyz(19.0728, 10.4083, 30.7041)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A98 #2C982A
analogous
#5F2A98 #962A98 #982A63
triadic
#962A98 #98962A #2A9896
tetradic
#962A98 #985F2A #2C982A #2A6398
square
#962A98 #985F2A #2C982A #2A6398
split-complementary
#962A98 #63982A #2A985F
monochromatic
#371038 #671D68 #962A98 #C537C8 #D367D5

Accessibility & contrast

On white

6.82
#962A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #962A98
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A98#FFFFFF#000000##FFFFFF
##962A981.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529B
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#9A3B5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #962a98;
/* rgb */ color: rgb(150, 42, 152);
/* oklch */ color: oklch(49.5% 0.190 327.2);
Tailwind
colors: {
  custom: {
    50: '#b86fb7',
    500: '#962a98',
    950: '#000000',
  },
}
SCSS
$custom: #962a98;
$custom-light: #b86fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#962a98",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 298.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.18979,
    "h": 327.2
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#962A98
secondary
#64BB62
accent
#E0484B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962A98

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

Preview Lab → · Contrast checker → · Palette generator →

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