#9366DC#9366DC

#9366DC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.1% C 0.174 H 298.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9366DC
RGBrgb(147, 102, 220)
HSLhsl(263, 63%, 63%)
HSVhsv(263, 54%, 86%)
CMYKcmyk(33.2%, 53.6%, 0%, 13.7%)
CIE-LABlab(52.81, 42.70, -54.11)
CIE-LCHlch(52.81, 68.92, 308.28°)
OKLaboklab(61.1% 0.0839 -0.153)
OKLCHoklch(61.1% 0.174 298.7)
XYZxyz(29.6991, 20.8728, 70.1604)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9366DC #AFDC66
analogous
#6674DC #9366DC #CE66DC
triadic
#9366DC #DC9366 #66DC93
tetradic
#9366DC #DC6674 #AFDC66 #66DCCE
square
#9366DC #DC6674 #AFDC66 #66DCCE
split-complementary
#9366DC #DCCE66 #74DC66
monochromatic
#5525A2 #7034D1 #9366DC #B698E7 #D9CAF3

Accessibility & contrast

On white

4.06
#9366DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9366DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9366DC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9366DC#FFFFFF#000000##000000
##9366DC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#447DD9
Tritanopia (blue-blind)
#837D97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9366dc;
/* rgb */ color: rgb(147, 102, 220);
/* oklch */ color: oklch(61.1% 0.174 298.7);
Tailwind
colors: {
  custom: {
    50: '#b693e7',
    500: '#9366dc',
    950: '#000000',
  },
}
SCSS
$custom: #9366dc;
$custom-light: #b693e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9366dc",
  "rgb": {
    "r": 147,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 262.881,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61101,
    "c": 0.17446,
    "h": 298.7
  },
  "luminance": 0.20873
}

Semantic roles & 50–950 ramp

primary
#9366DC
secondary
#D4E4BA
accent
#CB1B88
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9366DC

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

Preview Lab → · Contrast checker → · Palette generator →

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