#9F64EC#9F64EC

#9F64EC is a light, vivid violet. Relative luminance 0.225; OKLCH L 63.0% C 0.199 H 300.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9F64EC
RGBrgb(159, 100, 236)
HSLhsl(266, 78%, 66%)
HSVhsv(266, 58%, 93%)
CMYKcmyk(32.6%, 57.6%, 0%, 7.5%)
CIE-LABlab(54.60, 50.61, -60.17)
CIE-LCHlch(54.60, 78.63, 310.07°)
OKLaboklab(63.01% 0.1018 -0.1704)
OKLCHoklch(63.01% 0.199 300.9)
XYZxyz(33.9920, 22.5412, 81.9007)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F64EC #B1EC64
analogous
#646DEC #9F64EC #E364EC
triadic
#9F64EC #EC9F64 #64EC9F
tetradic
#9F64EC #EC646D #B1EC64 #64ECE3
square
#9F64EC #EC646D #B1EC64 #64ECE3
split-complementary
#9F64EC #ECE364 #6DEC64
monochromatic
#6017BE #7D2DE5 #9F64EC #C19BF3 #E3D1F9

Accessibility & contrast

On white

3.81
#9F64EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9F64EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F64EC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F64EC#FFFFFF#000000##000000
##9F64EC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F0
Deuteranopia (green-blind)
#3C82E9
Tritanopia (blue-blind)
#8F809F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9f64ec;
/* rgb */ color: rgb(159, 100, 236);
/* oklch */ color: oklch(63.0% 0.199 300.9);
Tailwind
colors: {
  custom: {
    50: '#c092f3',
    500: '#9f64ec',
    950: '#000000',
  },
}
SCSS
$custom: #9f64ec;
$custom-light: #c092f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f64ec",
  "rgb": {
    "r": 159,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 266.029,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63008,
    "c": 0.19852,
    "h": 300.9
  },
  "luminance": 0.22541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F64EC

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

Preview Lab → · Contrast checker → · Palette generator →

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