#962D98#962D98

#962D98 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.186 H 327.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#962D98
RGBrgb(150, 45, 152)
HSLhsl(299, 54%, 39%)
HSVhsv(299, 70%, 60%)
CMYKcmyk(1.3%, 70.4%, 0%, 40.4%)
CIE-LABlab(38.95, 56.44, -36.47)
CIE-LCHlch(38.95, 67.20, 327.14°)
OKLaboklab(49.81% 0.1565 -0.1011)
OKLCHoklch(49.81% 0.186 327.1)
XYZxyz(19.1833, 10.6291, 30.7409)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962D98 #2F982D
analogous
#602D98 #962D98 #982D64
triadic
#962D98 #98962D #2D9896
tetradic
#962D98 #98602D #2F982D #2D6498
square
#962D98 #98602D #2F982D #2D6498
split-complementary
#962D98 #64982D #2D9860
monochromatic
#39113A #671F69 #962D98 #C33DC5 #D26CD3

Accessibility & contrast

On white

6.72
#962D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#962D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962D98
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962D98#FFFFFF#000000##FFFFFF
##962D981.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#9A3D5F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #962d98;
/* rgb */ color: rgb(150, 45, 152);
/* oklch */ color: oklch(49.8% 0.186 327.1);
Tailwind
colors: {
  custom: {
    50: '#b870b7',
    500: '#962d98',
    950: '#000000',
  },
}
SCSS
$custom: #962d98;
$custom-light: #b870b7;
$custom-dark: #000000;
JSON
{
  "hex": "#962d98",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 298.879,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49806,
    "c": 0.18627,
    "h": 327.1
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#962D98
secondary
#68BA66
accent
#DE4A4D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #962D98

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

Preview Lab → · Contrast checker → · Palette generator →

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