#9566CA#9566CA

#9566CA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.2% C 0.153 H 303.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9566CA
RGBrgb(149, 102, 202)
HSLhsl(268, 49%, 60%)
HSVhsv(268, 50%, 79%)
CMYKcmyk(26.2%, 49.5%, 0%, 20.8%)
CIE-LABlab(52.01, 38.75, -45.13)
CIE-LCHlch(52.01, 59.49, 310.65°)
OKLaboklab(60.23% 0.0851 -0.1267)
OKLCHoklch(60.23% 0.153 303.9)
XYZxyz(27.8042, 20.1567, 58.2915)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566CA #9BCA66
analogous
#6669CA #9566CA #C766CA
triadic
#9566CA #CA9566 #66CA95
tetradic
#9566CA #CA6669 #9BCA66 #66CAC7
square
#9566CA #CA6669 #9BCA66 #66CAC7
split-complementary
#9566CA #CAC766 #69CA66
monochromatic
#582F87 #763EB4 #9566CA #B493DA #D4C1E9

Accessibility & contrast

On white

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

On black

5.03
#9566CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566CA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566CA#FFFFFF#000000##000000
##9566CA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#557CC8
Tritanopia (blue-blind)
#8C788F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9566ca;
/* rgb */ color: rgb(149, 102, 202);
/* oklch */ color: oklch(60.2% 0.153 303.9);
Tailwind
colors: {
  custom: {
    50: '#b693da',
    500: '#9566ca',
    950: '#000000',
  },
}
SCSS
$custom: #9566ca;
$custom-light: #b693da;
$custom-dark: #000000;
JSON
{
  "hex": "#9566ca",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 268.2,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60233,
    "c": 0.15257,
    "h": 303.9
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#9566CA
secondary
#C7D9B2
accent
#D85098
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9566CA

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

Preview Lab → · Contrast checker → · Palette generator →

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