#9566E6#9566E6

#9566E6 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.9% C 0.187 H 297.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9566E6
RGBrgb(149, 102, 230)
HSLhsl(262, 72%, 65%)
HSVhsv(262, 56%, 90%)
CMYKcmyk(35.2%, 55.7%, 0%, 9.8%)
CIE-LABlab(53.61, 45.72, -58.46)
CIE-LCHlch(53.61, 74.21, 308.03°)
OKLaboklab(61.93% 0.0867 -0.1657)
OKLCHoklch(61.93% 0.187 297.6)
XYZxyz(31.4252, 21.6051, 77.3621)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566E6 #B7E666
analogous
#6677E6 #9566E6 #D566E6
triadic
#9566E6 #E69566 #66E695
tetradic
#9566E6 #E66677 #B7E666 #66E6D5
square
#9566E6 #E66677 #B7E666 #66E6D5
split-complementary
#9566E6 #E6D566 #77E666
monochromatic
#551DB4 #7131DD #9566E6 #B99BEF #DECFF7

Accessibility & contrast

On white

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

On black

5.32
#9566E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566E6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566E6#FFFFFF#000000##000000
##9566E61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9566e6;
/* rgb */ color: rgb(149, 102, 230);
/* oklch */ color: oklch(61.9% 0.187 297.6);
Tailwind
colors: {
  custom: {
    50: '#b893ef',
    500: '#9566e6',
    950: '#000000',
  },
}
SCSS
$custom: #9566e6;
$custom-light: #b893ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9566e6",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 262.031,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.18699,
    "h": 297.6
  },
  "luminance": 0.21605
}

Semantic roles & 50–950 ramp

primary
#9566E6
secondary
#DAEABE
accent
#D4128D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9566E6

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

Preview Lab → · Contrast checker → · Palette generator →

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