#9566CD#9566CD

#9566CD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.4% C 0.156 H 303.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9566CD
RGBrgb(149, 102, 205)
HSLhsl(267, 51%, 60%)
HSVhsv(267, 50%, 80%)
CMYKcmyk(27.3%, 50.2%, 0%, 19.6%)
CIE-LABlab(52.17, 39.48, -46.59)
CIE-LCHlch(52.17, 61.07, 310.28°)
OKLaboklab(60.41% 0.0853 -0.1309)
OKLCHoklch(60.41% 0.156 303.1)
XYZxyz(28.1628, 20.3001, 60.1804)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566CD #9ECD66
analogous
#666ACD #9566CD #C966CD
triadic
#9566CD #CD9566 #66CD95
tetradic
#9566CD #CD666A #9ECD66 #66CDC9
square
#9566CD #CD666A #9ECD66 #66CDC9
split-complementary
#9566CD #CDC966 #6ACD66
monochromatic
#582D8B #753DB9 #9566CD #B594DC #D5C2EB

Accessibility & contrast

On white

4.15
#9566CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9566CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566CD#FFFFFF#000000##000000
##9566CD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD1
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#8B7990
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9566cd;
/* rgb */ color: rgb(149, 102, 205);
/* oklch */ color: oklch(60.4% 0.156 303.1);
Tailwind
colors: {
  custom: {
    50: '#b793dd',
    500: '#9566cd',
    950: '#000000',
  },
}
SCSS
$custom: #9566cd;
$custom-light: #b793dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9566cd",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 267.379,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60405,
    "c": 0.15628,
    "h": 303.1
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#9566CD
secondary
#C9DBB4
accent
#BE2779
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9566CD

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

Preview Lab → · Contrast checker → · Palette generator →

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