#9366E2#9366E2

#9366E2 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.182 H 297.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9366E2
RGBrgb(147, 102, 226)
HSLhsl(262, 68%, 64%)
HSVhsv(262, 55%, 89%)
CMYKcmyk(35%, 54.9%, 0%, 11.4%)
CIE-LABlab(53.16, 44.22, -56.93)
CIE-LCHlch(53.16, 72.09, 307.84°)
OKLaboklab(61.48% 0.0841 -0.1612)
OKLCHoklch(61.48% 0.182 297.5)
XYZxyz(30.5080, 21.1964, 74.4207)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9366E2 #B5E266
analogous
#6677E2 #9366E2 #D166E2
triadic
#9366E2 #E29366 #66E293
tetradic
#9366E2 #E26677 #B5E266 #66E2D1
square
#9366E2 #E26677 #B5E266 #66E2D1
split-complementary
#9366E2 #E2D166 #77E266
monochromatic
#5421AD #6F33D8 #9366E2 #B799EC #DCCDF6

Accessibility & contrast

On white

4.01
#9366E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9366E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9366E2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9366E2#FFFFFF#000000##000000
##9366E21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#3E7EDF
Tritanopia (blue-blind)
#817F9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9366e2;
/* rgb */ color: rgb(147, 102, 226);
/* oklch */ color: oklch(61.5% 0.182 297.5);
Tailwind
colors: {
  custom: {
    50: '#b793ec',
    500: '#9366e2',
    950: '#000000',
  },
}
SCSS
$custom: #9366e2;
$custom-light: #b793ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9366e2",
  "rgb": {
    "r": 147,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 261.774,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61476,
    "c": 0.18185,
    "h": 297.5
  },
  "luminance": 0.21197
}

Semantic roles & 50–950 ramp

primary
#9366E2
secondary
#D8E7BC
accent
#D0158C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9366E2

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

Preview Lab → · Contrast checker → · Palette generator →

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