#9566CB#9566CB

#9566CB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.154 H 303.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9566CB
RGBrgb(149, 102, 203)
HSLhsl(268, 49%, 60%)
HSVhsv(268, 50%, 80%)
CMYKcmyk(26.6%, 49.8%, 0%, 20.4%)
CIE-LABlab(52.07, 38.99, -45.62)
CIE-LCHlch(52.07, 60.01, 310.52°)
OKLaboklab(60.29% 0.0852 -0.1281)
OKLCHoklch(60.29% 0.154 303.6)
XYZxyz(27.9229, 20.2042, 58.9171)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566CB #9CCB66
analogous
#666ACB #9566CB #C866CB
triadic
#9566CB #CB9566 #66CB95
tetradic
#9566CB #CB666A #9CCB66 #66CBC8
square
#9566CB #CB666A #9CCB66 #66CBC8
split-complementary
#9566CB #CBC866 #6ACB66
monochromatic
#582E88 #763EB6 #9566CB #B594DB #D4C1EA

Accessibility & contrast

On white

4.17
#9566CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9566CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566CB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566CB#FFFFFF#000000##000000
##9566CB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#8C788F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9566cb;
/* rgb */ color: rgb(149, 102, 203);
/* oklch */ color: oklch(60.3% 0.154 303.6);
Tailwind
colors: {
  custom: {
    50: '#b793db',
    500: '#9566cb',
    950: '#000000',
  },
}
SCSS
$custom: #9566cb;
$custom-light: #b793db;
$custom-dark: #000000;
JSON
{
  "hex": "#9566cb",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 267.921,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6029,
    "c": 0.15381,
    "h": 303.6
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#9566CB
secondary
#C8DAB3
accent
#D94F99
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9566CB

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

Preview Lab → · Contrast checker → · Palette generator →

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