#9366CD#9366CD

#9366CD is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.2% C 0.156 H 302.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9366CD
RGBrgb(147, 102, 205)
HSLhsl(266, 51%, 60%)
HSVhsv(266, 50%, 80%)
CMYKcmyk(28.3%, 50.2%, 0%, 19.6%)
CIE-LABlab(51.97, 38.95, -46.94)
CIE-LCHlch(51.97, 60.99, 309.69°)
OKLaboklab(60.2% 0.0828 -0.132)
OKLCHoklch(60.2% 0.156 302.1)
XYZxyz(27.8010, 20.1135, 60.1634)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9366CD #A0CD66
analogous
#666CCD #9366CD #C766CD
triadic
#9366CD #CD9366 #66CD93
tetradic
#9366CD #CD666C #A0CD66 #66CDC7
square
#9366CD #CD666C #A0CD66 #66CDC7
split-complementary
#9366CD #CDC766 #6CCD66
monochromatic
#562D8B #733DB9 #9366CD #B494DC #D4C2EB

Accessibility & contrast

On white

4.18
#9366CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9366CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9366CD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9366CD#FFFFFF#000000##000000
##9366CD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#517CCA
Tritanopia (blue-blind)
#887990
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9366cd;
/* rgb */ color: rgb(147, 102, 205);
/* oklch */ color: oklch(60.2% 0.156 302.1);
Tailwind
colors: {
  custom: {
    50: '#b593dd',
    500: '#9366cd',
    950: '#000000',
  },
}
SCSS
$custom: #9366cd;
$custom-light: #b593dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9366cd",
  "rgb": {
    "r": 147,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 266.214,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60201,
    "c": 0.15582,
    "h": 302.1
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#9366CD
secondary
#CADBB4
accent
#BE277C
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9366CD

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

Preview Lab → · Contrast checker → · Palette generator →

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