#8366F4#8366F4

#8366F4 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.2% C 0.204 H 288.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8366F4
RGBrgb(131, 102, 244)
HSLhsl(252, 87%, 68%)
HSVhsv(252, 58%, 96%)
CMYKcmyk(46.3%, 58.2%, 0%, 4.3%)
CIE-LABlab(52.79, 45.55, -67.68)
CIE-LCHlch(52.79, 81.58, 303.94°)
OKLaboklab(61.21% 0.0638 -0.1933)
OKLCHoklch(61.21% 0.204 288.3)
XYZxyz(30.4359, 20.8584, 87.9928)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366F4 #D7F466
analogous
#6690F4 #8366F4 #CA66F4
triadic
#8366F4 #F48366 #66F483
tetradic
#8366F4 #F46690 #D7F466 #66F4CA
square
#8366F4 #F46690 #D7F466 #66F4CA
split-complementary
#8366F4 #F4CA66 #90F466
monochromatic
#370FD1 #552DF0 #8366F4 #B19FF8 #E0D8FC

Accessibility & contrast

On white

4.06
#8366F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8366F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366F4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366F4#FFFFFF#000000##000000
##8366F41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#5E86A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8366f4;
/* rgb */ color: rgb(131, 102, 244);
/* oklch */ color: oklch(61.2% 0.204 288.3);
Tailwind
colors: {
  custom: {
    50: '#ae93f9',
    500: '#8366f4',
    950: '#000000',
  },
}
SCSS
$custom: #8366f4;
$custom-light: #ae93f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8366f4",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 252.254,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.20359,
    "h": 288.3
  },
  "luminance": 0.2086
}

Semantic roles & 50–950 ramp

primary
#8366F4
secondary
#E8F1C5
accent
#E302B5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366F4

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

Preview Lab → · Contrast checker → · Palette generator →

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