#9D64E8#9D64E8

#9D64E8 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.5% C 0.193 H 300.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9D64E8
RGBrgb(157, 100, 232)
HSLhsl(266, 74%, 65%)
HSVhsv(266, 57%, 91%)
CMYKcmyk(32.3%, 56.9%, 0%, 9%)
CIE-LABlab(54.14, 49.17, -58.67)
CIE-LCHlch(54.14, 76.55, 309.96°)
OKLaboklab(62.55% 0.0993 -0.1661)
OKLCHoklch(62.55% 0.193 300.9)
XYZxyz(33.0238, 22.1085, 78.8558)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64E8 #AFE864
analogous
#646DE8 #9D64E8 #DF64E8
triadic
#9D64E8 #E89D64 #64E89D
tetradic
#9D64E8 #E8646D #AFE864 #64E8DF
square
#9D64E8 #E8646D #AFE864 #64E8DF
split-complementary
#9D64E8 #E8DF64 #6DE864
monochromatic
#5E1BB7 #7B2FE0 #9D64E8 #BF99F0 #E0CFF8

Accessibility & contrast

On white

3.87
#9D64E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9D64E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64E8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64E8#FFFFFF#000000##000000
##9D64E81.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781EC
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#8E7F9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d64e8;
/* rgb */ color: rgb(157, 100, 232);
/* oklch */ color: oklch(62.5% 0.193 300.9);
Tailwind
colors: {
  custom: {
    50: '#be92f0',
    500: '#9d64e8',
    950: '#000000',
  },
}
SCSS
$custom: #9d64e8;
$custom-light: #be92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64e8",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 265.909,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62549,
    "c": 0.19349,
    "h": 300.9
  },
  "luminance": 0.22109
}

Semantic roles & 50–950 ramp

primary
#9D64E8
secondary
#D7EABE
accent
#D60F80
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9D64E8

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

Preview Lab → · Contrast checker → · Palette generator →

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