#9566DD#9566DD

#9566DD is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.176 H 299.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9566DD
RGBrgb(149, 102, 221)
HSLhsl(264, 64%, 63%)
HSVhsv(264, 54%, 87%)
CMYKcmyk(32.6%, 53.8%, 0%, 13.3%)
CIE-LABlab(53.07, 43.44, -54.24)
CIE-LCHlch(53.07, 69.49, 308.69°)
OKLaboklab(61.36% 0.0864 -0.1533)
OKLCHoklch(61.36% 0.176 299.4)
XYZxyz(30.1938, 21.1125, 70.8770)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566DD #AEDD66
analogous
#6672DD #9566DD #D066DD
triadic
#9566DD #DD9566 #66DD95
tetradic
#9566DD #DD6672 #AEDD66 #66DDD0
square
#9566DD #DD6672 #AEDD66 #66DDD0
split-complementary
#9566DD #DDD066 #72DD66
monochromatic
#5724A4 #7234D2 #9566DD #B898E8 #DACAF3

Accessibility & contrast

On white

4.02
#9566DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9566DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566DD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566DD#FFFFFF#000000##000000
##9566DD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE1
Deuteranopia (green-blind)
#457EDA
Tritanopia (blue-blind)
#867D98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9566dd;
/* rgb */ color: rgb(149, 102, 221);
/* oklch */ color: oklch(61.4% 0.176 299.4);
Tailwind
colors: {
  custom: {
    50: '#b893e8',
    500: '#9566dd',
    950: '#000000',
  },
}
SCSS
$custom: #9566dd;
$custom-light: #b893e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9566dd",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 263.697,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.176,
    "h": 299.4
  },
  "luminance": 0.21113
}

Semantic roles & 50–950 ramp

primary
#9566DD
secondary
#D4E5BA
accent
#CB1A85
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9566DD

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

Preview Lab → · Contrast checker → · Palette generator →

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