#8366F2#8366F2

#8366F2 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.1% C 0.201 H 288.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8366F2
RGBrgb(131, 102, 242)
HSLhsl(252, 84%, 67%)
HSVhsv(252, 58%, 95%)
CMYKcmyk(45.9%, 57.9%, 0%, 5.1%)
CIE-LABlab(52.66, 44.99, -66.78)
CIE-LCHlch(52.66, 80.52, 303.97°)
OKLaboklab(61.07% 0.0639 -0.1907)
OKLCHoklch(61.07% 0.201 288.5)
XYZxyz(30.1339, 20.7376, 86.4022)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366F2 #D5F266
analogous
#668FF2 #8366F2 #C966F2
triadic
#8366F2 #F28366 #66F283
tetradic
#8366F2 #F2668F #D5F266 #66F2C9
square
#8366F2 #F2668F #D5F266 #66F2C9
split-complementary
#8366F2 #F2C966 #8FF266
monochromatic
#3811CC #552EED #8366F2 #B19EF7 #DED7FC

Accessibility & contrast

On white

4.08
#8366F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8366F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366F2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366F2#FFFFFF#000000##000000
##8366F21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#6086A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8366f2;
/* rgb */ color: rgb(131, 102, 242);
/* oklch */ color: oklch(61.1% 0.201 288.5);
Tailwind
colors: {
  custom: {
    50: '#ae93f7',
    500: '#8366f2',
    950: '#000000',
  },
}
SCSS
$custom: #8366f2;
$custom-light: #ae93f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8366f2",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 252.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6107,
    "c": 0.2011,
    "h": 288.5
  },
  "luminance": 0.20739
}

Semantic roles & 50–950 ramp

primary
#8366F2
secondary
#E7F0C4
accent
#E105B3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8366F2

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

Preview Lab → · Contrast checker → · Palette generator →

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