#9566B2#9566B2

#9566B2 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 58.9% C 0.123 H 311.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9566B2
RGBrgb(149, 102, 178)
HSLhsl(277, 33%, 55%)
HSVhsv(277, 43%, 70%)
CMYKcmyk(16.3%, 42.7%, 0%, 30.2%)
CIE-LABlab(50.81, 33.14, -33.20)
CIE-LCHlch(50.81, 46.91, 314.95°)
OKLaboklab(58.94% 0.0816 -0.092)
OKLCHoklch(58.94% 0.123 311.6)
XYZxyz(25.1803, 19.1071, 44.4724)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566B2 #83B266
analogous
#6F66B2 #9566B2 #B266A9
triadic
#9566B2 #B29566 #66B295
tetradic
#9566B2 #B26F66 #83B266 #66A9B2
square
#9566B2 #B26F66 #83B266 #66A9B2
split-complementary
#9566B2 #A9B266 #66B26F
monochromatic
#553569 #764992 #9566B2 #B18FC6 #CDB7DB

Accessibility & contrast

On white

4.36
#9566B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9566B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566B2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566B2#FFFFFF#000000##000000
##9566B21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#627AB0
Tritanopia (blue-blind)
#927183
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9566b2;
/* rgb */ color: rgb(149, 102, 178);
/* oklch */ color: oklch(58.9% 0.123 311.6);
Tailwind
colors: {
  custom: {
    50: '#b592c9',
    500: '#9566b2',
    950: '#000000',
  },
}
SCSS
$custom: #9566b2;
$custom-light: #b592c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9566b2",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 277.105,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.12298,
    "h": 311.6
  },
  "luminance": 0.19107
}

Semantic roles & 50–950 ramp

primary
#9566B2
secondary
#B6CAAA
accent
#C95F87
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9566B2

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

Preview Lab → · Contrast checker → · Palette generator →

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