#9566DC#9566DC

#9566DC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.3% C 0.175 H 299.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9566DC
RGBrgb(149, 102, 220)
HSLhsl(264, 63%, 63%)
HSVhsv(264, 54%, 86%)
CMYKcmyk(32.3%, 53.6%, 0%, 13.7%)
CIE-LABlab(53.01, 43.19, -53.77)
CIE-LCHlch(53.01, 68.97, 308.77°)
OKLaboklab(61.3% 0.0864 -0.1519)
OKLCHoklch(61.3% 0.175 299.6)
XYZxyz(30.0610, 21.0594, 70.1774)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566DC #ADDC66
analogous
#6672DC #9566DC #D066DC
triadic
#9566DC #DC9566 #66DC95
tetradic
#9566DC #DC6672 #ADDC66 #66DCD0
square
#9566DC #DC6672 #ADDC66 #66DCD0
split-complementary
#9566DC #DCD066 #72DC66
monochromatic
#5725A2 #7234D1 #9566DC #B898E7 #DACAF3

Accessibility & contrast

On white

4.03
#9566DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9566DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566DC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566DC#FFFFFF#000000##000000
##9566DC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EE0
Deuteranopia (green-blind)
#467ED9
Tritanopia (blue-blind)
#867D97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9566dc;
/* rgb */ color: rgb(149, 102, 220);
/* oklch */ color: oklch(61.3% 0.175 299.6);
Tailwind
colors: {
  custom: {
    50: '#b893e7',
    500: '#9566dc',
    950: '#000000',
  },
}
SCSS
$custom: #9566dc;
$custom-light: #b893e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9566dc",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 263.898,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.17477,
    "h": 299.6
  },
  "luminance": 0.2106
}

Semantic roles & 50–950 ramp

primary
#9566DC
secondary
#D3E4BA
accent
#CB1B85
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9566DC

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

Preview Lab → · Contrast checker → · Palette generator →

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