#9962E7#9962E7

#9962E7 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.8% C 0.195 H 299.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9962E7
RGBrgb(153, 98, 231)
HSLhsl(265, 73%, 65%)
HSVhsv(265, 58%, 91%)
CMYKcmyk(33.8%, 57.6%, 0%, 9.4%)
CIE-LABlab(53.25, 49.07, -59.56)
CIE-LCHlch(53.25, 77.17, 309.48°)
OKLaboklab(61.78% 0.0966 -0.1688)
OKLCHoklch(61.78% 0.195 299.8)
XYZxyz(31.9249, 21.2769, 78.0107)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9962E7 #B0E762
analogous
#626EE7 #9962E7 #DC62E7
triadic
#9962E7 #E79962 #62E799
tetradic
#9962E7 #E7626E #B0E762 #62E7DC
square
#9962E7 #E7626E #B0E762 #62E7DC
split-complementary
#9962E7 #E7DC62 #6EE762
monochromatic
#5A1BB3 #772DDF #9962E7 #BB97EF #DECCF7

Accessibility & contrast

On white

4.00
#9962E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9962E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9962E7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9962E7#FFFFFF#000000##000000
##9962E71.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7FEB
Deuteranopia (green-blind)
#387EE4
Tritanopia (blue-blind)
#887D9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9962e7;
/* rgb */ color: rgb(153, 98, 231);
/* oklch */ color: oklch(61.8% 0.195 299.8);
Tailwind
colors: {
  custom: {
    50: '#bb91ef',
    500: '#9962e7',
    950: '#000000',
  },
}
SCSS
$custom: #9962e7;
$custom-light: #bb91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9962e7",
  "rgb": {
    "r": 153,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 264.812,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.1945,
    "h": 299.8
  },
  "luminance": 0.21277
}

Semantic roles & 50–950 ramp

primary
#9962E7
secondary
#D6E9BB
accent
#D61084
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9962E7

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

Preview Lab → · Contrast checker → · Palette generator →

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