#962498#962498

#962498 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.196 H 327.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#962498
RGBrgb(150, 36, 152)
HSLhsl(299, 62%, 37%)
HSVhsv(299, 76%, 60%)
CMYKcmyk(1.3%, 76.3%, 0%, 40.4%)
CIE-LABlab(37.87, 59.53, -38.18)
CIE-LCHlch(37.87, 70.72, 327.32°)
OKLaboklab(49.03% 0.1651 -0.106)
OKLCHoklch(49.03% 0.196 327.3)
XYZxyz(18.8758, 10.0141, 30.6384)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962498 #269824
analogous
#5C2498 #962498 #982460
triadic
#962498 #989624 #249896
tetradic
#962498 #985C24 #269824 #246098
square
#962498 #985C24 #269824 #246098
split-complementary
#962498 #609824 #24985C
monochromatic
#340D35 #651867 #962498 #C730C9 #D75ED9

Accessibility & contrast

On white

6.99
#962498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#962498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962498
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962498#FFFFFF#000000##FFFFFF
##9624981.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#9A375D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962498;
/* rgb */ color: rgb(150, 36, 152);
/* oklch */ color: oklch(49.0% 0.196 327.3);
Tailwind
colors: {
  custom: {
    50: '#b96cb7',
    500: '#962498',
    950: '#000000',
  },
}
SCSS
$custom: #962498;
$custom-light: #b96cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#962498",
  "rgb": {
    "r": 150,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 298.966,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49033,
    "c": 0.19623,
    "h": 327.3
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#962498
secondary
#5CBE5A
accent
#E54346
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #962498

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

Preview Lab → · Contrast checker → · Palette generator →

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