#8366F7#8366F7

#8366F7 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.4% C 0.207 H 287.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8366F7
RGBrgb(131, 102, 247)
HSLhsl(252, 90%, 68%)
HSVhsv(252, 59%, 97%)
CMYKcmyk(47%, 58.7%, 0%, 3.1%)
CIE-LABlab(53.00, 46.39, -69.02)
CIE-LCHlch(53.00, 83.17, 303.90°)
OKLaboklab(61.42% 0.0637 -0.1973)
OKLCHoklch(61.42% 0.207 287.9)
XYZxyz(30.8951, 21.0421, 90.4113)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366F7 #DAF766
analogous
#6691F7 #8366F7 #CB66F7
triadic
#8366F7 #F78366 #66F783
tetradic
#8366F7 #F76691 #DAF766 #66F7CB
square
#8366F7 #F76691 #DAF766 #66F7CB
split-complementary
#8366F7 #F7CB66 #91F766
monochromatic
#340BD7 #542CF4 #8366F7 #B2A0FA #E1DAFD

Accessibility & contrast

On white

4.03
#8366F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8366F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366F7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366F7#FFFFFF#000000##000000
##8366F71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#5D87A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8366f7;
/* rgb */ color: rgb(131, 102, 247);
/* oklch */ color: oklch(61.4% 0.207 287.9);
Tailwind
colors: {
  custom: {
    50: '#af93fb',
    500: '#8366f7',
    950: '#000000',
  },
}
SCSS
$custom: #8366f7;
$custom-light: #af93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8366f7",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 252,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.20733,
    "h": 287.9
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#8366F7
secondary
#E9F2C7
accent
#E600B8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366F7

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

Preview Lab → · Contrast checker → · Palette generator →

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