#8366FE#8366FE

#8366FE is a mid, highly saturated violet. Relative luminance 0.215; OKLCH L 61.9% C 0.216 H 287.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8366FE
RGBrgb(131, 102, 254)
HSLhsl(251, 99%, 70%)
HSVhsv(251, 60%, 100%)
CMYKcmyk(48.4%, 59.8%, 0%, 0.4%)
CIE-LABlab(53.47, 48.37, -72.14)
CIE-LCHlch(53.47, 86.85, 303.84°)
OKLaboklab(61.92% 0.0634 -0.2064)
OKLCHoklch(61.92% 0.216 287.1)
XYZxyz(31.9956, 21.4823, 96.2073)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366FE #E1FE66
analogous
#6695FE #8366FE #CF66FE
triadic
#8366FE #FE8366 #66FE83
tetradic
#8366FE #FE6695 #E1FE66 #66FECF
square
#8366FE #FE6695 #E1FE66 #66FECF
split-complementary
#8366FE #FECF66 #95FE66
monochromatic
#2E02E8 #5229FE #8366FE #B4A3FE #E6E0FF

Accessibility & contrast

On white

3.96
#8366FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8366FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366FE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366FE#FFFFFF#000000##000000
##8366FE1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#588AA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8366fe;
/* rgb */ color: rgb(131, 102, 254);
/* oklch */ color: oklch(61.9% 0.216 287.1);
Tailwind
colors: {
  custom: {
    50: '#af93ff',
    500: '#8366fe',
    950: '#000000',
  },
}
SCSS
$custom: #8366fe;
$custom-light: #af93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8366fe",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 251.447,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61923,
    "c": 0.21596,
    "h": 287.1
  },
  "luminance": 0.21484
}

Semantic roles & 50–950 ramp

primary
#8366FE
secondary
#EDF5CA
accent
#E600BA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8366FE

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

Preview Lab → · Contrast checker → · Palette generator →

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