#9E62EC#9E62EC

#9E62EC is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.6% C 0.201 H 300.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9E62EC
RGBrgb(158, 98, 236)
HSLhsl(266, 78%, 65%)
HSVhsv(266, 58%, 93%)
CMYKcmyk(33.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(54.09, 51.44, -60.99)
CIE-LCHlch(54.09, 79.78, 310.15°)
OKLaboklab(62.61% 0.1029 -0.1728)
OKLCHoklch(62.61% 0.201 300.8)
XYZxyz(33.6049, 22.0604, 81.8283)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E62EC #B0EC62
analogous
#626BEC #9E62EC #E362EC
triadic
#9E62EC #EC9E62 #62EC9E
tetradic
#9E62EC #EC626B #B0EC62 #62ECE3
square
#9E62EC #EC626B #B0EC62 #62ECE3
split-complementary
#9E62EC #ECE362 #6BEC62
monochromatic
#5F17BD #7C2BE5 #9E62EC #C099F3 #E1CFF9

Accessibility & contrast

On white

3.88
#9E62EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9E62EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E62EC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E62EC#FFFFFF#000000##000000
##9E62EC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F0
Deuteranopia (green-blind)
#3880E9
Tritanopia (blue-blind)
#8E7F9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9e62ec;
/* rgb */ color: rgb(158, 98, 236);
/* oklch */ color: oklch(62.6% 0.201 300.8);
Tailwind
colors: {
  custom: {
    50: '#bf91f3',
    500: '#9e62ec',
    950: '#000000',
  },
}
SCSS
$custom: #9e62ec;
$custom-light: #bf91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e62ec",
  "rgb": {
    "r": 158,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 266.087,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62614,
    "c": 0.20116,
    "h": 300.8
  },
  "luminance": 0.22061
}

Semantic roles & 50–950 ramp

primary
#9E62EC
secondary
#D8ECBE
accent
#DB0B80
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E62EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9E62EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva