#9366E7#9366E7

#9366E7 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.188 H 296.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9366E7
RGBrgb(147, 102, 231)
HSLhsl(261, 73%, 65%)
HSVhsv(261, 56%, 91%)
CMYKcmyk(36.4%, 55.8%, 0%, 9.4%)
CIE-LABlab(53.47, 45.51, -59.25)
CIE-LCHlch(53.47, 74.71, 307.53°)
OKLaboklab(61.8% 0.0842 -0.1681)
OKLCHoklch(61.8% 0.188 296.6)
XYZxyz(31.2041, 21.4748, 78.0869)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9366E7 #BAE766
analogous
#667AE7 #9366E7 #D366E7
triadic
#9366E7 #E79366 #66E793
tetradic
#9366E7 #E7667A #BAE766 #66E7D3
square
#9366E7 #E7667A #BAE766 #66E7D3
split-complementary
#9366E7 #E7D366 #7AE766
monochromatic
#521DB6 #6E31DF #9366E7 #B89BEF #DED0F8

Accessibility & contrast

On white

3.97
#9366E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9366E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9366E7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9366E7#FFFFFF#000000##000000
##9366E71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EB
Deuteranopia (green-blind)
#387EE4
Tritanopia (blue-blind)
#7F819D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9366e7;
/* rgb */ color: rgb(147, 102, 231);
/* oklch */ color: oklch(61.8% 0.188 296.6);
Tailwind
colors: {
  custom: {
    50: '#b793ef',
    500: '#9366e7',
    950: '#000000',
  },
}
SCSS
$custom: #9366e7;
$custom-light: #b793ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9366e7",
  "rgb": {
    "r": 147,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 260.93,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.18798,
    "h": 296.6
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#9366E7
secondary
#DBEABF
accent
#D51190
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9366E7

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

Preview Lab → · Contrast checker → · Palette generator →

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