#9366DD#9366DD

#9366DD is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.176 H 298.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9366DD
RGBrgb(147, 102, 221)
HSLhsl(263, 64%, 63%)
HSVhsv(263, 54%, 87%)
CMYKcmyk(33.5%, 53.8%, 0%, 13.3%)
CIE-LABlab(52.87, 42.95, -54.58)
CIE-LCHlch(52.87, 69.45, 308.20°)
OKLaboklab(61.16% 0.0839 -0.1544)
OKLCHoklch(61.16% 0.176 298.5)
XYZxyz(29.8319, 20.9259, 70.8600)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9366DD #B0DD66
analogous
#6674DD #9366DD #CE66DD
triadic
#9366DD #DD9366 #66DD93
tetradic
#9366DD #DD6674 #B0DD66 #66DDCE
square
#9366DD #DD6674 #B0DD66 #66DDCE
split-complementary
#9366DD #DDCE66 #74DD66
monochromatic
#5524A4 #7034D2 #9366DD #B698E8 #DACAF3

Accessibility & contrast

On white

4.05
#9366DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9366DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9366DD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9366DD#FFFFFF#000000##000000
##9366DD1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE1
Deuteranopia (green-blind)
#437DDA
Tritanopia (blue-blind)
#837E98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9366dd;
/* rgb */ color: rgb(147, 102, 221);
/* oklch */ color: oklch(61.2% 0.176 298.5);
Tailwind
colors: {
  custom: {
    50: '#b693e8',
    500: '#9366dd',
    950: '#000000',
  },
}
SCSS
$custom: #9366dd;
$custom-light: #b693e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9366dd",
  "rgb": {
    "r": 147,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 262.689,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61163,
    "c": 0.17569,
    "h": 298.5
  },
  "luminance": 0.20926
}

Semantic roles & 50–950 ramp

primary
#9366DD
secondary
#D5E5BA
accent
#CB1A88
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9366DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9366DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva