#9566BC#9566BC

#9566BC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.5% C 0.135 H 308.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9566BC
RGBrgb(149, 102, 188)
HSLhsl(273, 39%, 57%)
HSVhsv(273, 46%, 74%)
CMYKcmyk(20.7%, 45.7%, 0%, 26.3%)
CIE-LABlab(51.29, 35.43, -38.23)
CIE-LCHlch(51.29, 52.12, 312.83°)
OKLaboklab(59.46% 0.0833 -0.1066)
OKLCHoklch(59.46% 0.135 308)
XYZxyz(26.2211, 19.5234, 49.9543)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566BC #8DBC66
analogous
#6A66BC #9566BC #BC66B8
triadic
#9566BC #BC9566 #66BC95
tetradic
#9566BC #BC6A66 #8DBC66 #66B8BC
square
#9566BC #BC6A66 #8DBC66 #66B8BC
split-complementary
#9566BC #B8BC66 #66BC6A
monochromatic
#573375 #77469F #9566BC #B291CF #D0BBE1

Accessibility & contrast

On white

4.28
#9566BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9566BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566BC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566BC#FFFFFF#000000##000000
##9566BC1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#907488
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9566bc;
/* rgb */ color: rgb(149, 102, 188);
/* oklch */ color: oklch(59.5% 0.135 308.0);
Tailwind
colors: {
  custom: {
    50: '#b693d0',
    500: '#9566bc',
    950: '#000000',
  },
}
SCSS
$custom: #9566bc;
$custom-light: #b693d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9566bc",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 272.791,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59461,
    "c": 0.13525,
    "h": 308
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#9566BC
secondary
#BDD0AD
accent
#CF598E
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9566BC

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

Preview Lab → · Contrast checker → · Palette generator →

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