#9B64EC#9B64EC

#9B64EC is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.6% C 0.198 H 299.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9B64EC
RGBrgb(155, 100, 236)
HSLhsl(264, 78%, 66%)
HSVhsv(264, 58%, 93%)
CMYKcmyk(34.3%, 57.6%, 0%, 7.5%)
CIE-LABlab(54.17, 49.70, -60.87)
CIE-LCHlch(54.17, 78.58, 309.23°)
OKLaboklab(62.6% 0.0967 -0.1726)
OKLCHoklch(62.6% 0.198 299.3)
XYZxyz(33.2114, 22.1387, 81.8641)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B64EC #B5EC64
analogous
#6471EC #9B64EC #DF64EC
triadic
#9B64EC #EC9B64 #64EC9B
tetradic
#9B64EC #EC6471 #B5EC64 #64ECDF
square
#9B64EC #EC6471 #B5EC64 #64ECDF
split-complementary
#9B64EC #ECDF64 #71EC64
monochromatic
#5B17BE #782DE5 #9B64EC #BE9BF3 #E1D1F9

Accessibility & contrast

On white

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

On black

5.43
#9B64EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B64EC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B64EC#FFFFFF#000000##000000
##9B64EC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81F0
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#89809F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9b64ec;
/* rgb */ color: rgb(155, 100, 236);
/* oklch */ color: oklch(62.6% 0.198 299.3);
Tailwind
colors: {
  custom: {
    50: '#bd92f3',
    500: '#9b64ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b64ec;
$custom-light: #bd92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b64ec",
  "rgb": {
    "r": 155,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 264.265,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62602,
    "c": 0.19786,
    "h": 299.3
  },
  "luminance": 0.22139
}

Semantic roles & 50–950 ramp

primary
#9B64EC
secondary
#DAECBF
accent
#DA0B87
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9B64EC

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

Preview Lab → · Contrast checker → · Palette generator →

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