#806CEF#806CEF

#806CEF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.6% C 0.189 H 286.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#806CEF
RGBrgb(128, 108, 239)
HSLhsl(249, 80%, 68%)
HSVhsv(249, 55%, 94%)
CMYKcmyk(46.4%, 54.8%, 0%, 6.3%)
CIE-LABlab(53.54, 40.08, -63.70)
CIE-LCHlch(53.54, 75.26, 302.18°)
OKLaboklab(61.6% 0.0536 -0.1817)
OKLCHoklch(61.6% 0.189 286.4)
XYZxyz(29.8401, 21.5450, 84.2309)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CEF #DBEF6C
analogous
#6C9AEF #806CEF #C16CEF
triadic
#806CEF #EF806C #6CEF80
tetradic
#806CEF #EF6C9A #DBEF6C #6CEFC1
square
#806CEF #EF6C9A #DBEF6C #6CEFC1
split-complementary
#806CEF #EFC16C #9AEF6C
monochromatic
#3216CB #5035E9 #806CEF #B0A3F5 #DFDAFB

Accessibility & contrast

On white

3.96
#806CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#806CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CEF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CEF#FFFFFF#000000##000000
##806CEF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F3
Deuteranopia (green-blind)
#1C7CEC
Tritanopia (blue-blind)
#5B89A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #806cef;
/* rgb */ color: rgb(128, 108, 239);
/* oklch */ color: oklch(61.6% 0.189 286.4);
Tailwind
colors: {
  custom: {
    50: '#ac96f5',
    500: '#806cef',
    950: '#000000',
  },
}
SCSS
$custom: #806cef;
$custom-light: #ac96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#806cef",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 249.16,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.18942,
    "h": 286.4
  },
  "luminance": 0.21546
}

Semantic roles & 50–950 ramp

primary
#806CEF
secondary
#E9EFC7
accent
#DD09BC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #806CEF

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

Preview Lab → · Contrast checker → · Palette generator →

#806CEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva