#9366D4#9366D4

#9366D4 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.6% C 0.165 H 300.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9366D4
RGBrgb(147, 102, 212)
HSLhsl(265, 56%, 62%)
HSVhsv(265, 52%, 83%)
CMYKcmyk(30.7%, 51.9%, 0%, 16.9%)
CIE-LABlab(52.35, 40.68, -50.31)
CIE-LCHlch(52.35, 64.70, 308.96°)
OKLaboklab(60.61% 0.0834 -0.1418)
OKLCHoklch(60.61% 0.165 300.5)
XYZxyz(28.6649, 20.4591, 64.7134)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9366D4 #A7D466
analogous
#6670D4 #9366D4 #CA66D4
triadic
#9366D4 #D49366 #66D493
tetradic
#9366D4 #D46670 #A7D466 #66D4CA
square
#9366D4 #D46670 #A7D466 #66D4CA
split-complementary
#9366D4 #D4CA66 #70D466
monochromatic
#562A96 #7237C5 #9366D4 #B596E1 #D6C6EF

Accessibility & contrast

On white

4.12
#9366D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9366D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9366D4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9366D4#FFFFFF#000000##000000
##9366D41.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD8
Deuteranopia (green-blind)
#4C7CD1
Tritanopia (blue-blind)
#867B93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9366d4;
/* rgb */ color: rgb(147, 102, 212);
/* oklch */ color: oklch(60.6% 0.165 300.5);
Tailwind
colors: {
  custom: {
    50: '#b693e2',
    500: '#9366d4',
    950: '#000000',
  },
}
SCSS
$custom: #9366d4;
$custom-light: #b693e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9366d4",
  "rgb": {
    "r": 147,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 264.545,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60614,
    "c": 0.16454,
    "h": 300.5
  },
  "luminance": 0.20459
}

Semantic roles & 50–950 ramp

primary
#9366D4
secondary
#CFDFB6
accent
#C42281
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9366D4

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

Preview Lab → · Contrast checker → · Palette generator →

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