#8366F0#8366F0

#8366F0 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.9% C 0.199 H 288.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8366F0
RGBrgb(131, 102, 240)
HSLhsl(253, 82%, 67%)
HSVhsv(253, 58%, 94%)
CMYKcmyk(45.4%, 57.5%, 0%, 5.9%)
CIE-LABlab(52.53, 44.42, -65.88)
CIE-LCHlch(52.53, 79.46, 303.99°)
OKLaboklab(60.93% 0.0639 -0.188)
OKLCHoklch(60.93% 0.199 288.8)
XYZxyz(29.8351, 20.6181, 84.8289)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366F0 #D3F066
analogous
#668EF0 #8366F0 #C866F0
triadic
#8366F0 #F08366 #66F083
tetradic
#8366F0 #F0668E #D3F066 #66F0C8
square
#8366F0 #F0668E #D3F066 #66F0C8
split-complementary
#8366F0 #F0C866 #8EF066
monochromatic
#3A14C8 #562EEB #8366F0 #B09EF5 #DDD5FB

Accessibility & contrast

On white

4.10
#8366F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8366F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366F0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366F0#FFFFFF#000000##000000
##8366F01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#6185A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8366f0;
/* rgb */ color: rgb(131, 102, 240);
/* oklch */ color: oklch(60.9% 0.199 288.8);
Tailwind
colors: {
  custom: {
    50: '#ae92f6',
    500: '#8366f0',
    950: '#000000',
  },
}
SCSS
$custom: #8366f0;
$custom-light: #ae92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8366f0",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 252.609,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.19859,
    "h": 288.8
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#8366F0
secondary
#E6EFC3
accent
#DF07B1
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366F0

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

Preview Lab → · Contrast checker → · Palette generator →

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