#8366FA#8366FA

#8366FA is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.6% C 0.211 H 287.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8366FA
RGBrgb(131, 102, 250)
HSLhsl(252, 94%, 69%)
HSVhsv(252, 59%, 98%)
CMYKcmyk(47.6%, 59.2%, 0%, 2%)
CIE-LABlab(53.20, 47.24, -70.36)
CIE-LCHlch(53.20, 84.75, 303.87°)
OKLaboklab(61.64% 0.0636 -0.2012)
OKLCHoklch(61.64% 0.211 287.5)
XYZxyz(31.3618, 21.2288, 92.8690)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366FA #DDFA66
analogous
#6693FA #8366FA #CD66FA
triadic
#8366FA #FA8366 #66FA83
tetradic
#8366FA #FA6693 #DDFA66 #66FACD
square
#8366FA #FA6693 #DDFA66 #66FACD
split-complementary
#8366FA #FACD66 #93FA66
monochromatic
#3107DE #532BF8 #8366FA #B3A1FC #E3DDFE

Accessibility & contrast

On white

4.00
#8366FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8366FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366FA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366FA#FFFFFF#000000##000000
##8366FA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#5B88A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8366fa;
/* rgb */ color: rgb(131, 102, 250);
/* oklch */ color: oklch(61.6% 0.211 287.5);
Tailwind
colors: {
  custom: {
    50: '#af93fd',
    500: '#8366fa',
    950: '#000000',
  },
}
SCSS
$custom: #8366fa;
$custom-light: #af93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8366fa",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 251.757,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61635,
    "c": 0.21104,
    "h": 287.5
  },
  "luminance": 0.2123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8366FA

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

Preview Lab → · Contrast checker → · Palette generator →

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