#9962EA#9962EA

#9962EA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.198 H 299.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9962EA
RGBrgb(153, 98, 234)
HSLhsl(264, 76%, 65%)
HSVhsv(264, 58%, 92%)
CMYKcmyk(34.6%, 58.1%, 0%, 8.2%)
CIE-LABlab(53.44, 49.81, -60.95)
CIE-LCHlch(53.44, 78.72, 309.26°)
OKLaboklab(61.97% 0.0966 -0.1729)
OKLCHoklch(61.97% 0.198 299.2)
XYZxyz(32.3522, 21.4479, 80.2613)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9962EA #B3EA62
analogous
#626FEA #9962EA #DD62EA
triadic
#9962EA #EA9962 #62EA99
tetradic
#9962EA #EA626F #B3EA62 #62EADD
square
#9962EA #EA626F #B3EA62 #62EADD
split-complementary
#9962EA #EADD62 #6FEA62
monochromatic
#5919B9 #762CE3 #9962EA #BC98F1 #DFCEF8

Accessibility & contrast

On white

3.97
#9962EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9962EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9962EA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9962EA#FFFFFF#000000##000000
##9962EA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1780EE
Deuteranopia (green-blind)
#347EE7
Tritanopia (blue-blind)
#877E9D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9962ea;
/* rgb */ color: rgb(153, 98, 234);
/* oklch */ color: oklch(62.0% 0.198 299.2);
Tailwind
colors: {
  custom: {
    50: '#bc91f1',
    500: '#9962ea',
    950: '#000000',
  },
}
SCSS
$custom: #9962ea;
$custom-light: #bc91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9962ea",
  "rgb": {
    "r": 153,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 264.265,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61974,
    "c": 0.19802,
    "h": 299.2
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#9962EA
secondary
#D8EBBD
accent
#D90D86
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9962EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9962EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva