#9564EB#9564EB

#9564EB is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.9% C 0.196 H 297.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9564EB
RGBrgb(149, 100, 235)
HSLhsl(262, 77%, 66%)
HSVhsv(262, 57%, 92%)
CMYKcmyk(36.6%, 57.4%, 0%, 7.8%)
CIE-LABlab(53.49, 48.09, -61.44)
CIE-LCHlch(53.49, 78.02, 308.05°)
OKLaboklab(61.94% 0.0891 -0.1744)
OKLCHoklch(61.94% 0.196 297.1)
XYZxyz(31.9432, 21.5016, 81.0484)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9564EB #BAEB64
analogous
#6476EB #9564EB #D964EB
triadic
#9564EB #EB9564 #64EB95
tetradic
#9564EB #EB6476 #BAEB64 #64EBD9
square
#9564EB #EB6476 #BAEB64 #64EBD9
split-complementary
#9564EB #EBD964 #76EB64
monochromatic
#5418BC #702EE4 #9564EB #BA9AF2 #DFD0F9

Accessibility & contrast

On white

3.96
#9564EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9564EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9564EB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9564EB#FFFFFF#000000##000000
##9564EB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1980EF
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#81809E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9564eb;
/* rgb */ color: rgb(149, 100, 235);
/* oklch */ color: oklch(61.9% 0.196 297.1);
Tailwind
colors: {
  custom: {
    50: '#b992f2',
    500: '#9564eb',
    950: '#000000',
  },
}
SCSS
$custom: #9564eb;
$custom-light: #b992f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9564eb",
  "rgb": {
    "r": 149,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 261.778,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.19588,
    "h": 297.1
  },
  "luminance": 0.21502
}

Semantic roles & 50–950 ramp

primary
#9564EB
secondary
#DCECBF
accent
#D90C8F
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9564EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9564EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva