#9566EB#9566EB

#9566EB is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.2% C 0.193 H 296.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9566EB
RGBrgb(149, 102, 235)
HSLhsl(261, 77%, 66%)
HSVhsv(261, 57%, 92%)
CMYKcmyk(36.6%, 56.6%, 0%, 7.8%)
CIE-LABlab(53.91, 47.00, -60.77)
CIE-LCHlch(53.91, 76.82, 307.72°)
OKLaboklab(62.25% 0.0867 -0.1725)
OKLCHoklch(62.25% 0.193 296.7)
XYZxyz(32.1374, 21.8899, 81.1132)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566EB #BCEB66
analogous
#6679EB #9566EB #D766EB
triadic
#9566EB #EB9566 #66EB95
tetradic
#9566EB #EB6679 #BCEB66 #66EBD7
square
#9566EB #EB6679 #BCEB66 #66EBD7
split-complementary
#9566EB #EBD766 #79EB66
monochromatic
#5319BE #7030E4 #9566EB #BA9CF2 #E0D2F9

Accessibility & contrast

On white

3.90
#9566EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9566EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566EB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566EB#FFFFFF#000000##000000
##9566EB1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#81829F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9566eb;
/* rgb */ color: rgb(149, 102, 235);
/* oklch */ color: oklch(62.2% 0.193 296.7);
Tailwind
colors: {
  custom: {
    50: '#b993f2',
    500: '#9566eb',
    950: '#000000',
  },
}
SCSS
$custom: #9566eb;
$custom-light: #b993f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9566eb",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 261.203,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62247,
    "c": 0.19306,
    "h": 296.7
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

primary
#9566EB
secondary
#DDECC1
accent
#D90C91
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9566EB

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

Preview Lab → · Contrast checker → · Palette generator →

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