#9566E5#9566E5

#9566E5 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.9% C 0.186 H 297.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9566E5
RGBrgb(149, 102, 229)
HSLhsl(262, 71%, 65%)
HSVhsv(262, 55%, 90%)
CMYKcmyk(34.9%, 55.5%, 0%, 10.2%)
CIE-LABlab(53.55, 45.46, -57.99)
CIE-LCHlch(53.55, 73.69, 308.09°)
OKLaboklab(61.86% 0.0867 -0.1643)
OKLCHoklch(61.86% 0.186 297.8)
XYZxyz(31.2851, 21.5490, 76.6247)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566E5 #B6E566
analogous
#6676E5 #9566E5 #D566E5
triadic
#9566E5 #E59566 #66E595
tetradic
#9566E5 #E56676 #B6E566 #66E5D5
square
#9566E5 #E56676 #B6E566 #66E5D5
split-complementary
#9566E5 #E5D566 #76E566
monochromatic
#551EB2 #7132DC #9566E5 #B99AEE #DDCFF7

Accessibility & contrast

On white

3.95
#9566E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9566E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566E5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566E5#FFFFFF#000000##000000
##9566E51.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C80E9
Deuteranopia (green-blind)
#3D7FE2
Tritanopia (blue-blind)
#83809C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9566e5;
/* rgb */ color: rgb(149, 102, 229);
/* oklch */ color: oklch(61.9% 0.186 297.8);
Tailwind
colors: {
  custom: {
    50: '#b893ee',
    500: '#9566e5',
    950: '#000000',
  },
}
SCSS
$custom: #9566e5;
$custom-light: #b893ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9566e5",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 262.205,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61861,
    "c": 0.18577,
    "h": 297.8
  },
  "luminance": 0.21549
}

Semantic roles & 50–950 ramp

primary
#9566E5
secondary
#D9E9BE
accent
#D3138C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9566E5

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

Preview Lab → · Contrast checker → · Palette generator →

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