#9366EB#9366EB

#9366EB is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.1% C 0.193 H 295.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9366EB
RGBrgb(147, 102, 235)
HSLhsl(260, 77%, 66%)
HSVhsv(260, 57%, 92%)
CMYKcmyk(37.4%, 56.6%, 0%, 7.8%)
CIE-LABlab(53.71, 46.54, -61.10)
CIE-LCHlch(53.71, 76.81, 307.30°)
OKLaboklab(62.05% 0.0842 -0.1735)
OKLCHoklch(62.05% 0.193 295.9)
XYZxyz(31.7755, 21.7034, 81.0962)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9366EB #BEEB66
analogous
#667BEB #9366EB #D666EB
triadic
#9366EB #EB9366 #66EB93
tetradic
#9366EB #EB667B #BEEB66 #66EBD6
square
#9366EB #EB667B #BEEB66 #66EBD6
split-complementary
#9366EB #EBD666 #7BEB66
monochromatic
#5119BE #6D30E4 #9366EB #B99CF2 #DFD2F9

Accessibility & contrast

On white

3.93
#9366EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9366EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9366EB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9366EB#FFFFFF#000000##000000
##9366EB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#327FE8
Tritanopia (blue-blind)
#7E829F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9366eb;
/* rgb */ color: rgb(147, 102, 235);
/* oklch */ color: oklch(62.1% 0.193 295.9);
Tailwind
colors: {
  custom: {
    50: '#b793f2',
    500: '#9366eb',
    950: '#000000',
  },
}
SCSS
$custom: #9366eb;
$custom-light: #b793f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9366eb",
  "rgb": {
    "r": 147,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 260.301,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62054,
    "c": 0.19286,
    "h": 295.9
  },
  "luminance": 0.21704
}

Semantic roles & 50–950 ramp

primary
#9366EB
secondary
#DDECC1
accent
#D90C94
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9366EB

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

Preview Lab → · Contrast checker → · Palette generator →

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