#8366F3#8366F3

#8366F3 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.1% C 0.202 H 288.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8366F3
RGBrgb(131, 102, 243)
HSLhsl(252, 85%, 68%)
HSVhsv(252, 58%, 95%)
CMYKcmyk(46.1%, 58%, 0%, 4.7%)
CIE-LABlab(52.73, 45.27, -67.23)
CIE-LCHlch(52.73, 81.05, 303.95°)
OKLaboklab(61.14% 0.0639 -0.192)
OKLCHoklch(61.14% 0.202 288.4)
XYZxyz(30.2845, 20.7979, 87.1953)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366F3 #D6F366
analogous
#6690F3 #8366F3 #C966F3
triadic
#8366F3 #F38366 #66F383
tetradic
#8366F3 #F36690 #D6F366 #66F3C9
square
#8366F3 #F36690 #D6F366 #66F3C9
split-complementary
#8366F3 #F3C966 #90F366
monochromatic
#3710CE #552DEF #8366F3 #B19FF7 #DFD7FC

Accessibility & contrast

On white

4.07
#8366F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8366F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366F3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366F3#FFFFFF#000000##000000
##8366F31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#5F86A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8366f3;
/* rgb */ color: rgb(131, 102, 243);
/* oklch */ color: oklch(61.1% 0.202 288.4);
Tailwind
colors: {
  custom: {
    50: '#ae93f8',
    500: '#8366f3',
    950: '#000000',
  },
}
SCSS
$custom: #8366f3;
$custom-light: #ae93f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8366f3",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 252.34,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.20235,
    "h": 288.4
  },
  "luminance": 0.20799
}

Semantic roles & 50–950 ramp

primary
#8366F3
secondary
#E7F0C5
accent
#E204B4
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366F3

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

Preview Lab → · Contrast checker → · Palette generator →

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