#9F64EB#9F64EB

#9F64EB is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.197 H 301.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9F64EB
RGBrgb(159, 100, 235)
HSLhsl(266, 77%, 66%)
HSVhsv(266, 57%, 92%)
CMYKcmyk(32.3%, 57.4%, 0%, 7.8%)
CIE-LABlab(54.54, 50.37, -59.71)
CIE-LCHlch(54.54, 78.12, 310.15°)
OKLaboklab(62.94% 0.1018 -0.1691)
OKLCHoklch(62.94% 0.197 301.1)
XYZxyz(33.8471, 22.4833, 81.1377)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F64EB #B0EB64
analogous
#646CEB #9F64EB #E264EB
triadic
#9F64EB #EB9F64 #64EB9F
tetradic
#9F64EB #EB646C #B0EB64 #64EBE2
square
#9F64EB #EB646C #B0EB64 #64EBE2
split-complementary
#9F64EB #EBE264 #6CEB64
monochromatic
#6018BC #7D2EE4 #9F64EB #C19AF2 #E2D0F9

Accessibility & contrast

On white

3.82
#9F64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9F64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F64EB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F64EB#FFFFFF#000000##000000
##9F64EB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382EF
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#90809E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9f64eb;
/* rgb */ color: rgb(159, 100, 235);
/* oklch */ color: oklch(62.9% 0.197 301.1);
Tailwind
colors: {
  custom: {
    50: '#bf92f2',
    500: '#9f64eb',
    950: '#000000',
  },
}
SCSS
$custom: #9f64eb;
$custom-light: #bf92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f64eb",
  "rgb": {
    "r": 159,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 266.222,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62944,
    "c": 0.19735,
    "h": 301.1
  },
  "luminance": 0.22483
}

Semantic roles & 50–950 ramp

primary
#9F64EB
secondary
#D8ECBF
accent
#D90C80
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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