#8366F5#8366F5

#8366F5 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.3% C 0.205 H 288.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8366F5
RGBrgb(131, 102, 245)
HSLhsl(252, 88%, 68%)
HSVhsv(252, 58%, 96%)
CMYKcmyk(46.5%, 58.4%, 0%, 3.9%)
CIE-LABlab(52.86, 45.83, -68.13)
CIE-LCHlch(52.86, 82.11, 303.93°)
OKLaboklab(61.28% 0.0638 -0.1946)
OKLCHoklch(61.28% 0.205 288.1)
XYZxyz(30.5881, 20.9193, 88.7946)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366F5 #D8F566
analogous
#6690F5 #8366F5 #CB66F5
triadic
#8366F5 #F58366 #66F583
tetradic
#8366F5 #F56690 #D8F566 #66F5CB
square
#8366F5 #F56690 #D8F566 #66F5CB
split-complementary
#8366F5 #F5CB66 #90F566
monochromatic
#360ED3 #542DF1 #8366F5 #B29FF9 #E0D9FD

Accessibility & contrast

On white

4.05
#8366F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8366F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366F5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366F5#FFFFFF#000000##000000
##8366F51.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#5E87A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8366f5;
/* rgb */ color: rgb(131, 102, 245);
/* oklch */ color: oklch(61.3% 0.205 288.1);
Tailwind
colors: {
  custom: {
    50: '#ae93f9',
    500: '#8366f5',
    950: '#000000',
  },
}
SCSS
$custom: #8366f5;
$custom-light: #ae93f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8366f5",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 252.168,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.20484,
    "h": 288.1
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

primary
#8366F5
secondary
#E8F1C6
accent
#E401B6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366F5

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

Preview Lab → · Contrast checker → · Palette generator →

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