#9E64E9#9E64E9

#9E64E9 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.7% C 0.195 H 301.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9E64E9
RGBrgb(158, 100, 233)
HSLhsl(266, 75%, 65%)
HSVhsv(266, 57%, 91%)
CMYKcmyk(32.2%, 57.1%, 0%, 8.6%)
CIE-LABlab(54.31, 49.65, -58.96)
CIE-LCHlch(54.31, 77.08, 310.10°)
OKLaboklab(62.71% 0.1006 -0.1669)
OKLCHoklch(62.71% 0.195 301.1)
XYZxyz(33.3622, 22.2665, 79.6152)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E64E9 #AFE964
analogous
#646DE9 #9E64E9 #E064E9
triadic
#9E64E9 #E99E64 #64E99E
tetradic
#9E64E9 #E9646D #AFE964 #64E9E0
square
#9E64E9 #E9646D #AFE964 #64E9E0
split-complementary
#9E64E9 #E9E064 #6DE964
monochromatic
#5F1AB8 #7C2EE1 #9E64E9 #C09AF1 #E1CFF8

Accessibility & contrast

On white

3.85
#9E64E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#9E64E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E64E9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E64E9#FFFFFF#000000##000000
##9E64E91.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681ED
Deuteranopia (green-blind)
#3F81E6
Tritanopia (blue-blind)
#8F7F9D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e64e9;
/* rgb */ color: rgb(158, 100, 233);
/* oklch */ color: oklch(62.7% 0.195 301.1);
Tailwind
colors: {
  custom: {
    50: '#bf92f1',
    500: '#9e64e9',
    950: '#000000',
  },
}
SCSS
$custom: #9e64e9;
$custom-light: #bf92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e64e9",
  "rgb": {
    "r": 158,
    "g": 100,
    "b": 233
  },
  "hsl": {
    "h": 266.165,
    "s": 75.141,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62714,
    "c": 0.19484,
    "h": 301.1
  },
  "luminance": 0.22267
}

Semantic roles & 50–950 ramp

primary
#9E64E9
secondary
#D7EBBE
accent
#D70E80
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E64E9

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

Preview Lab → · Contrast checker → · Palette generator →

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