#9566CF#9566CF

#9566CF is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.159 H 302.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9566CF
RGBrgb(149, 102, 207)
HSLhsl(267, 52%, 61%)
HSVhsv(267, 51%, 81%)
CMYKcmyk(28%, 50.7%, 0%, 18.8%)
CIE-LABlab(52.28, 39.97, -47.56)
CIE-LCHlch(52.28, 62.12, 310.04°)
OKLaboklab(60.52% 0.0855 -0.1337)
OKLCHoklch(60.52% 0.159 302.6)
XYZxyz(28.4058, 20.3973, 61.4600)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566CF #A0CF66
analogous
#666BCF #9566CF #C966CF
triadic
#9566CF #CF9566 #66CF95
tetradic
#9566CF #CF666B #A0CF66 #66CFC9
square
#9566CF #CF666B #A0CF66 #66CFC9
split-complementary
#9566CF #CFC966 #6BCF66
monochromatic
#582D8E #753BBD #9566CF #B595DE #D6C3EC

Accessibility & contrast

On white

4.13
#9566CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9566CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566CF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566CF#FFFFFF#000000##000000
##9566CF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#8A7991
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9566cf;
/* rgb */ color: rgb(149, 102, 207);
/* oklch */ color: oklch(60.5% 0.159 302.6);
Tailwind
colors: {
  custom: {
    50: '#b793de',
    500: '#9566cf',
    950: '#000000',
  },
}
SCSS
$custom: #9566cf;
$custom-light: #b793de;
$custom-dark: #000000;
JSON
{
  "hex": "#9566cf",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 266.857,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60521,
    "c": 0.15875,
    "h": 302.6
  },
  "luminance": 0.20397
}

Semantic roles & 50–950 ramp

primary
#9566CF
secondary
#CADCB4
accent
#C0267B
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9566CF

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

Preview Lab → · Contrast checker → · Palette generator →

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