#962698#962698

#962698 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.194 H 327.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#962698
RGBrgb(150, 38, 152)
HSLhsl(299, 60%, 37%)
HSVhsv(299, 75%, 60%)
CMYKcmyk(1.3%, 75%, 0%, 40.4%)
CIE-LABlab(38.09, 58.89, -37.83)
CIE-LCHlch(38.09, 69.99, 327.28°)
OKLaboklab(49.19% 0.1634 -0.105)
OKLCHoklch(49.19% 0.194 327.3)
XYZxyz(18.9380, 10.1386, 30.6592)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962698 #289826
analogous
#5D2698 #962698 #982661
triadic
#962698 #989626 #269896
tetradic
#962698 #985D26 #289826 #266198
square
#962698 #985D26 #289826 #266198
split-complementary
#962698 #619826 #26985D
monochromatic
#350E36 #661A67 #962698 #C632C9 #D561D7

Accessibility & contrast

On white

6.94
#962698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#962698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962698
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962698#FFFFFF#000000##FFFFFF
##9626981.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08519B
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#9A395D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #962698;
/* rgb */ color: rgb(150, 38, 152);
/* oklch */ color: oklch(49.2% 0.194 327.3);
Tailwind
colors: {
  custom: {
    50: '#b86db7',
    500: '#962698',
    950: '#000000',
  },
}
SCSS
$custom: #962698;
$custom-light: #b86db7;
$custom-dark: #000000;
JSON
{
  "hex": "#962698",
  "rgb": {
    "r": 150,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 298.947,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49191,
    "c": 0.19417,
    "h": 327.3
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#962698
secondary
#5FBD5D
accent
#E34547
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #962698

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

Preview Lab → · Contrast checker → · Palette generator →

#962698 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva