#9F64E2#9F64E2

#9F64E2 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.4% C 0.187 H 303.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9F64E2
RGBrgb(159, 100, 226)
HSLhsl(268, 68%, 64%)
HSVhsv(268, 56%, 89%)
CMYKcmyk(29.6%, 55.8%, 0%, 11.4%)
CIE-LABlab(54.00, 48.19, -55.51)
CIE-LCHlch(54.00, 73.51, 310.96°)
OKLaboklab(62.38% 0.1017 -0.1567)
OKLCHoklch(62.38% 0.187 303)
XYZxyz(32.5796, 21.9763, 74.4622)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F64E2 #A7E264
analogous
#6468E2 #9F64E2 #DE64E2
triadic
#9F64E2 #E29F64 #64E29F
tetradic
#9F64E2 #E26468 #A7E264 #64E2DE
square
#9F64E2 #E26468 #A7E264 #64E2DE
split-complementary
#9F64E2 #E2DE64 #68E264
monochromatic
#6120AC #7F30D8 #9F64E2 #BF98EC #DFCBF5

Accessibility & contrast

On white

3.89
#9F64E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9F64E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F64E2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F64E2#FFFFFF#000000##000000
##9F64E21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3180E6
Deuteranopia (green-blind)
#4781DF
Tritanopia (blue-blind)
#927D9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f64e2;
/* rgb */ color: rgb(159, 100, 226);
/* oklch */ color: oklch(62.4% 0.187 303.0);
Tailwind
colors: {
  custom: {
    50: '#bf92ec',
    500: '#9f64e2',
    950: '#000000',
  },
}
SCSS
$custom: #9f64e2;
$custom-light: #bf92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9f64e2",
  "rgb": {
    "r": 159,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 268.095,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6238,
    "c": 0.18686,
    "h": 303
  },
  "luminance": 0.21976
}

Semantic roles & 50–950 ramp

primary
#9F64E2
secondary
#D2E7BB
accent
#D01579
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #9F64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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