#9E64EA#9E64EA

#9E64EA is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.8% C 0.196 H 300.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9E64EA
RGBrgb(158, 100, 234)
HSLhsl(266, 76%, 65%)
HSVhsv(266, 57%, 92%)
CMYKcmyk(32.5%, 57.3%, 0%, 8.2%)
CIE-LABlab(54.37, 49.89, -59.42)
CIE-LCHlch(54.37, 77.59, 310.02°)
OKLaboklab(62.78% 0.1006 -0.1682)
OKLCHoklch(62.78% 0.196 300.9)
XYZxyz(33.5055, 22.3238, 80.3697)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E64EA #B0EA64
analogous
#646DEA #9E64EA #E164EA
triadic
#9E64EA #EA9E64 #64EA9E
tetradic
#9E64EA #EA646D #B0EA64 #64EAE1
square
#9E64EA #EA646D #B0EA64 #64EAE1
split-complementary
#9E64EA #EAE164 #6DEA64
monochromatic
#5F19BA #7C2EE3 #9E64EA #C09AF1 #E1D0F9

Accessibility & contrast

On white

3.84
#9E64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9E64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E64EA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E64EA#FFFFFF#000000##000000
##9E64EA1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2481EE
Deuteranopia (green-blind)
#3E81E7
Tritanopia (blue-blind)
#8E7F9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e64ea;
/* rgb */ color: rgb(158, 100, 234);
/* oklch */ color: oklch(62.8% 0.196 300.9);
Tailwind
colors: {
  custom: {
    50: '#bf92f1',
    500: '#9e64ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e64ea;
$custom-light: #bf92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e64ea",
  "rgb": {
    "r": 158,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 265.97,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62778,
    "c": 0.19601,
    "h": 300.9
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#9E64EA
secondary
#D8EBBE
accent
#D80D80
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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