#8366E2#8366E2

#8366E2 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.0% C 0.181 H 290.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8366E2
RGBrgb(131, 102, 226)
HSLhsl(254, 68%, 64%)
HSVhsv(254, 55%, 89%)
CMYKcmyk(42%, 54.9%, 0%, 11.4%)
CIE-LABlab(51.63, 40.53, -59.47)
CIE-LCHlch(51.63, 71.97, 304.27°)
OKLaboklab(59.98% 0.0639 -0.1692)
OKLCHoklch(59.98% 0.181 290.7)
XYZxyz(27.8351, 19.8181, 74.2955)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8366E2 #C5E266
analogous
#6687E2 #8366E2 #C166E2
triadic
#8366E2 #E28366 #66E283
tetradic
#8366E2 #E26687 #C5E266 #66E2C1
square
#8366E2 #E26687 #C5E266 #66E2C1
split-complementary
#8366E2 #E2C166 #87E266
monochromatic
#4221AD #5933D8 #8366E2 #AD99EC #D6CDF6

Accessibility & contrast

On white

4.23
#8366E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8366E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8366E2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8366E2#FFFFFF#000000##000000
##8366E21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#257DE6
Deuteranopia (green-blind)
#2B78DF
Tritanopia (blue-blind)
#68819A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8366e2;
/* rgb */ color: rgb(131, 102, 226);
/* oklch */ color: oklch(60.0% 0.181 290.7);
Tailwind
colors: {
  custom: {
    50: '#ac92ec',
    500: '#8366e2',
    950: '#000000',
  },
}
SCSS
$custom: #8366e2;
$custom-light: #ac92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8366e2",
  "rgb": {
    "r": 131,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 254.032,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.18085,
    "h": 290.7
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#8366E2
secondary
#DDE7BC
accent
#D015A4
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8366E2

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

Preview Lab → · Contrast checker → · Palette generator →

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