#8366FB#8366FB

#8366FB is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.7% C 0.212 H 287.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8366FB
RGBrgb(131, 102, 251)
HSLhsl(252, 95%, 69%)
HSVhsv(252, 59%, 98%)
CMYKcmyk(47.8%, 59.4%, 0%, 1.6%)
CIE-LABlab(53.27, 47.52, -70.81)
CIE-LCHlch(53.27, 85.27, 303.87°)
OKLaboklab(61.71% 0.0636 -0.2025)
OKLCHoklch(61.71% 0.212 287.4)
XYZxyz(31.5190, 21.2917, 93.6970)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366FB #DEFB66
analogous
#6694FB #8366FB #CE66FB
triadic
#8366FB #FB8366 #66FB83
tetradic
#8366FB #FB6694 #DEFB66 #66FBCE
square
#8366FB #FB6694 #DEFB66 #66FBCE
split-complementary
#8366FB #FBCE66 #94FB66
monochromatic
#3006E1 #532AF9 #8366FB #B3A2FD #E4DDFE

Accessibility & contrast

On white

3.99
#8366FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8366FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366FB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366FB#FFFFFF#000000##000000
##8366FB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007BF8
Tritanopia (blue-blind)
#5A89A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8366fb;
/* rgb */ color: rgb(131, 102, 251);
/* oklch */ color: oklch(61.7% 0.212 287.4);
Tailwind
colors: {
  custom: {
    50: '#af93fe',
    500: '#8366fb',
    950: '#000000',
  },
}
SCSS
$custom: #8366fb;
$custom-light: #af93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8366fb",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 251.678,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.21228,
    "h": 287.4
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8366FB

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

Preview Lab → · Contrast checker → · Palette generator →

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