#8366FD#8366FD

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

Color values

HEX#8366FD
RGBrgb(131, 102, 253)
HSLhsl(252, 97%, 70%)
HSVhsv(252, 60%, 99%)
CMYKcmyk(48.2%, 59.7%, 0%, 0.8%)
CIE-LABlab(53.40, 48.08, -71.69)
CIE-LCHlch(53.40, 86.32, 303.85°)
OKLaboklab(61.85% 0.0635 -0.2051)
OKLCHoklch(61.85% 0.215 287.2)
XYZxyz(31.8359, 21.4184, 95.3662)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366FD #E0FD66
analogous
#6695FD #8366FD #CE66FD
triadic
#8366FD #FD8366 #66FD83
tetradic
#8366FD #FD6695 #E0FD66 #66FDCE
square
#8366FD #FD6695 #E0FD66 #66FDCE
split-complementary
#8366FD #FDCE66 #95FD66
monochromatic
#2F03E6 #522AFC #8366FD #B4A2FE #E5DFFF

Accessibility & contrast

On white

3.97
#8366FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8366FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366FD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366FD#FFFFFF#000000##000000
##8366FD1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007BFA
Tritanopia (blue-blind)
#5989A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8366fd;
/* rgb */ color: rgb(131, 102, 253);
/* oklch */ color: oklch(61.9% 0.215 287.2);
Tailwind
colors: {
  custom: {
    50: '#af93ff',
    500: '#8366fd',
    950: '#000000',
  },
}
SCSS
$custom: #8366fd;
$custom-light: #af93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8366fd",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 251.523,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.21473,
    "h": 287.2
  },
  "luminance": 0.2142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8366FD

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

Preview Lab → · Contrast checker → · Palette generator →

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