#9566ED#9566ED

#9566ED is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.4% C 0.195 H 296.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9566ED
RGBrgb(149, 102, 237)
HSLhsl(261, 79%, 66%)
HSVhsv(261, 57%, 93%)
CMYKcmyk(37.1%, 57%, 0%, 7.1%)
CIE-LABlab(54.03, 47.51, -61.69)
CIE-LCHlch(54.03, 77.86, 307.60°)
OKLaboklab(62.38% 0.0867 -0.1752)
OKLCHoklch(62.38% 0.195 296.3)
XYZxyz(32.4279, 22.0062, 82.6435)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9566ED #BEED66
analogous
#667BED #9566ED #D966ED
triadic
#9566ED #ED9566 #66ED95
tetradic
#9566ED #ED667B #BEED66 #66EDD9
square
#9566ED #ED667B #BEED66 #66EDD9
split-complementary
#9566ED #EDD966 #7BED66
monochromatic
#5217C2 #6F2FE7 #9566ED #BB9DF3 #E1D4FA

Accessibility & contrast

On white

3.89
#9566ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9566ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9566ED
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9566ED#FFFFFF#000000##000000
##9566ED1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D82F1
Deuteranopia (green-blind)
#327FEA
Tritanopia (blue-blind)
#8083A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9566ed;
/* rgb */ color: rgb(149, 102, 237);
/* oklch */ color: oklch(62.4% 0.195 296.3);
Tailwind
colors: {
  custom: {
    50: '#b993f4',
    500: '#9566ed',
    950: '#000000',
  },
}
SCSS
$custom: #9566ed;
$custom-light: #b993f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9566ed",
  "rgb": {
    "r": 149,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 260.889,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62377,
    "c": 0.19547,
    "h": 296.3
  },
  "luminance": 0.22007
}

Semantic roles & 50–950 ramp

primary
#9566ED
secondary
#DEEDC2
accent
#DB0A92
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9566ED

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

Preview Lab → · Contrast checker → · Palette generator →

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