#9E64F8#9E64F8

#9E64F8 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.7% C 0.212 H 298.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9E64F8
RGBrgb(158, 100, 248)
HSLhsl(264, 91%, 68%)
HSVhsv(264, 60%, 97%)
CMYKcmyk(36.3%, 59.7%, 0%, 2.7%)
CIE-LABlab(55.24, 53.35, -65.83)
CIE-LCHlch(55.24, 84.74, 309.02°)
OKLaboklab(63.69% 0.1003 -0.1871)
OKLCHoklch(63.69% 0.212 298.2)
XYZxyz(35.5968, 23.1603, 91.3837)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E64F8 #BEF864
analogous
#6474F8 #9E64F8 #E864F8
triadic
#9E64F8 #F89E64 #64F89E
tetradic
#9E64F8 #F86474 #BEF864 #64F8E8
square
#9E64F8 #F86474 #BEF864 #64F8E8
split-complementary
#9E64F8 #F8E864 #74F864
monochromatic
#5B0AD8 #7929F5 #9E64F8 #C39FFB #E7D9FD

Accessibility & contrast

On white

3.73
#9E64F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9E64F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E64F8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E64F8#FFFFFF#000000##000000
##9E64F81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#2883F5
Tritanopia (blue-blind)
#8984A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9e64f8;
/* rgb */ color: rgb(158, 100, 248);
/* oklch */ color: oklch(63.7% 0.212 298.2);
Tailwind
colors: {
  custom: {
    50: '#c093fb',
    500: '#9e64f8',
    950: '#000000',
  },
}
SCSS
$custom: #9e64f8;
$custom-light: #c093fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e64f8",
  "rgb": {
    "r": 158,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 263.514,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6369,
    "c": 0.21226,
    "h": 298.2
  },
  "luminance": 0.23161
}

Semantic roles & 50–950 ramp

primary
#9E64F8
secondary
#E1F2C5
accent
#E6008C
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E64F8

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

Preview Lab → · Contrast checker → · Palette generator →

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