#8366FC#8366FC

#8366FC is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 61.8% C 0.213 H 287.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8366FC
RGBrgb(131, 102, 252)
HSLhsl(252, 96%, 69%)
HSVhsv(252, 60%, 99%)
CMYKcmyk(48%, 59.5%, 0%, 1.2%)
CIE-LABlab(53.34, 47.80, -71.25)
CIE-LCHlch(53.34, 85.80, 303.86°)
OKLaboklab(61.78% 0.0635 -0.2038)
OKLCHoklch(61.78% 0.214 287.3)
XYZxyz(31.6770, 21.3549, 94.5294)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366FC #DFFC66
analogous
#6694FC #8366FC #CE66FC
triadic
#8366FC #FC8366 #66FC83
tetradic
#8366FC #FC6694 #DFFC66 #66FCCE
square
#8366FC #FC6694 #DFFC66 #66FCCE
split-complementary
#8366FC #FCCE66 #94FC66
monochromatic
#3004E3 #522AFB #8366FC #B4A2FD #E4DEFE

Accessibility & contrast

On white

3.98
#8366FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8366FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366FC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366FC#FFFFFF#000000##000000
##8366FC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#5989A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8366fc;
/* rgb */ color: rgb(131, 102, 252);
/* oklch */ color: oklch(61.8% 0.213 287.3);
Tailwind
colors: {
  custom: {
    50: '#af93fe',
    500: '#8366fc',
    950: '#000000',
  },
}
SCSS
$custom: #8366fc;
$custom-light: #af93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8366fc",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 251.6,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.2135,
    "h": 287.3
  },
  "luminance": 0.21356
}

Semantic roles & 50–950 ramp

primary
#8366FC
secondary
#ECF5C9
accent
#E600B9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8366FC

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

Preview Lab → · Contrast checker → · Palette generator →

#8366FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva