#9D64EB#9D64EB

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

Color values

HEX#9D64EB
RGBrgb(157, 100, 235)
HSLhsl(265, 77%, 66%)
HSVhsv(265, 57%, 92%)
CMYKcmyk(33.2%, 57.4%, 0%, 7.8%)
CIE-LABlab(54.32, 49.91, -60.06)
CIE-LCHlch(54.32, 78.09, 309.72°)
OKLaboklab(62.74% 0.0993 -0.1702)
OKLCHoklch(62.74% 0.197 300.3)
XYZxyz(33.4536, 22.2804, 81.1192)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64EB #B2EB64
analogous
#646EEB #9D64EB #E064EB
triadic
#9D64EB #EB9D64 #64EB9D
tetradic
#9D64EB #EB646E #B2EB64 #64EBE0
square
#9D64EB #EB646E #B2EB64 #64EBE0
split-complementary
#9D64EB #EBE064 #6EEB64
monochromatic
#5E18BC #7B2EE4 #9D64EB #BF9AF2 #E2D0F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D64EB#FFFFFF#000000##000000
##9D64EB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#8D809E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9d64eb;
/* rgb */ color: rgb(157, 100, 235);
/* oklch */ color: oklch(62.7% 0.197 300.3);
Tailwind
colors: {
  custom: {
    50: '#be92f2',
    500: '#9d64eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d64eb;
$custom-light: #be92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64eb",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 265.333,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6274,
    "c": 0.197,
    "h": 300.3
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#9D64EB
secondary
#D9ECBF
accent
#D90C83
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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