#9566BB#9566BB

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

Color values

HEX#9566BB
RGBrgb(149, 102, 187)
HSLhsl(273, 38%, 57%)
HSVhsv(273, 45%, 73%)
CMYKcmyk(20.3%, 45.5%, 0%, 26.7%)
CIE-LABlab(51.24, 35.20, -37.73)
CIE-LCHlch(51.24, 51.60, 313.01°)
OKLaboklab(59.41% 0.0831 -0.1051)
OKLCHoklch(59.41% 0.134 308.3)
XYZxyz(26.1137, 19.4805, 49.3885)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566BB #8CBB66
analogous
#6B66BB #9566BB #BB66B7
triadic
#9566BB #BB9566 #66BB95
tetradic
#9566BB #BB6B66 #8CBB66 #66B7BB
square
#9566BB #BB6B66 #8CBB66 #66B7BB
split-complementary
#9566BB #B7BB66 #66BB6B
monochromatic
#573373 #77469E #9566BB #B290CE #D0BBE1

Accessibility & contrast

On white

4.29
#9566BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9566BB#FFFFFF#000000##000000
##9566BB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#907488
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9566bb;
/* rgb */ color: rgb(149, 102, 187);
/* oklch */ color: oklch(59.4% 0.134 308.3);
Tailwind
colors: {
  custom: {
    50: '#b692d0',
    500: '#9566bb',
    950: '#000000',
  },
}
SCSS
$custom: #9566bb;
$custom-light: #b692d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9566bb",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 273.176,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.13401,
    "h": 308.3
  },
  "luminance": 0.1948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9566BB

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

Preview Lab → · Contrast checker → · Palette generator →

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