#9564E5#9564E5

#9564E5 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.189 H 298.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9564E5
RGBrgb(149, 100, 229)
HSLhsl(263, 71%, 65%)
HSVhsv(263, 56%, 90%)
CMYKcmyk(34.9%, 56.3%, 0%, 10.2%)
CIE-LABlab(53.12, 46.56, -58.66)
CIE-LCHlch(53.12, 74.89, 308.44°)
OKLaboklab(61.55% 0.0891 -0.1663)
OKLCHoklch(61.55% 0.189 298.2)
XYZxyz(31.0909, 21.1607, 76.5599)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9564E5 #B4E564
analogous
#6473E5 #9564E5 #D664E5
triadic
#9564E5 #E59564 #64E595
tetradic
#9564E5 #E56473 #B4E564 #64E5D6
square
#9564E5 #E56473 #B4E564 #64E5D6
split-complementary
#9564E5 #E5D664 #73E564
monochromatic
#561EB1 #7130DC #9564E5 #B998EE #DDCDF7

Accessibility & contrast

On white

4.01
#9564E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9564E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9564E5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9564E5#FFFFFF#000000##000000
##9564E51.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#397EE2
Tritanopia (blue-blind)
#837F9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9564e5;
/* rgb */ color: rgb(149, 100, 229);
/* oklch */ color: oklch(61.6% 0.189 298.2);
Tailwind
colors: {
  custom: {
    50: '#b892ee',
    500: '#9564e5',
    950: '#000000',
  },
}
SCSS
$custom: #9564e5;
$custom-light: #b892ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9564e5",
  "rgb": {
    "r": 149,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 262.791,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.18866,
    "h": 298.2
  },
  "luminance": 0.21161
}

Semantic roles & 50–950 ramp

primary
#9564E5
secondary
#D8E9BC
accent
#D3128A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9564E5

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

Preview Lab → · Contrast checker → · Palette generator →

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