#9566E4#9566E4

#9566E4 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.185 H 298.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9566E4
RGBrgb(149, 102, 228)
HSLhsl(262, 70%, 65%)
HSVhsv(262, 55%, 89%)
CMYKcmyk(34.6%, 55.3%, 0%, 10.6%)
CIE-LABlab(53.49, 45.21, -57.52)
CIE-LCHlch(53.49, 73.16, 308.16°)
OKLaboklab(61.8% 0.0867 -0.163)
OKLCHoklch(61.8% 0.185 298)
XYZxyz(31.1459, 21.4934, 75.8915)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566E4 #B5E466
analogous
#6676E4 #9566E4 #D466E4
triadic
#9566E4 #E49566 #66E495
tetradic
#9566E4 #E46676 #B5E466 #66E4D4
square
#9566E4 #E46676 #B5E466 #66E4D4
split-complementary
#9566E4 #E4D466 #76E466
monochromatic
#551FB0 #7132DB #9566E4 #B99AED #DDCEF6

Accessibility & contrast

On white

3.96
#9566E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9566E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566E4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566E4#FFFFFF#000000##000000
##9566E41.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)
#2D80E8
Deuteranopia (green-blind)
#3E7EE1
Tritanopia (blue-blind)
#83809B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9566e4;
/* rgb */ color: rgb(149, 102, 228);
/* oklch */ color: oklch(61.8% 0.185 298.0);
Tailwind
colors: {
  custom: {
    50: '#b893ed',
    500: '#9566e4',
    950: '#000000',
  },
}
SCSS
$custom: #9566e4;
$custom-light: #b893ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9566e4",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 262.381,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.18456,
    "h": 298
  },
  "luminance": 0.21494
}

Semantic roles & 50–950 ramp

primary
#9566E4
secondary
#D8E9BD
accent
#D2148B
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9566E4

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

Preview Lab → · Contrast checker → · Palette generator →

#9566E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva