#9566E7#9566E7

#9566E7 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 62.0% C 0.188 H 297.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9566E7
RGBrgb(149, 102, 231)
HSLhsl(262, 73%, 65%)
HSVhsv(262, 56%, 91%)
CMYKcmyk(35.5%, 55.8%, 0%, 9.4%)
CIE-LABlab(53.67, 45.97, -58.92)
CIE-LCHlch(53.67, 74.73, 307.96°)
OKLaboklab(61.99% 0.0867 -0.167)
OKLCHoklch(61.99% 0.188 297.4)
XYZxyz(31.5660, 21.6614, 78.1038)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566E7 #B8E766
analogous
#6678E7 #9566E7 #D566E7
triadic
#9566E7 #E79566 #66E795
tetradic
#9566E7 #E76678 #B8E766 #66E7D5
square
#9566E7 #E76678 #B8E766 #66E7D5
split-complementary
#9566E7 #E7D566 #78E766
monochromatic
#541DB6 #7031DF #9566E7 #BA9BEF #DED0F8

Accessibility & contrast

On white

3.94
#9566E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9566E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566E7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566E7#FFFFFF#000000##000000
##9566E71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EB
Deuteranopia (green-blind)
#3A7FE4
Tritanopia (blue-blind)
#82819D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9566e7;
/* rgb */ color: rgb(149, 102, 231);
/* oklch */ color: oklch(62.0% 0.188 297.4);
Tailwind
colors: {
  custom: {
    50: '#b893ef',
    500: '#9566e7',
    950: '#000000',
  },
}
SCSS
$custom: #9566e7;
$custom-light: #b893ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9566e7",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 261.86,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61989,
    "c": 0.1882,
    "h": 297.4
  },
  "luminance": 0.21662
}

Semantic roles & 50–950 ramp

primary
#9566E7
secondary
#DAEABF
accent
#D5118D
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9566E7

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

Preview Lab → · Contrast checker → · Palette generator →

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