#806BEF#806BEF

#806BEF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.4% C 0.191 H 286.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#806BEF
RGBrgb(128, 107, 239)
HSLhsl(250, 80%, 68%)
HSVhsv(250, 55%, 94%)
CMYKcmyk(46.4%, 55.2%, 0%, 6.3%)
CIE-LABlab(53.31, 40.66, -64.06)
CIE-LCHlch(53.31, 75.88, 302.40°)
OKLaboklab(61.43% 0.0547 -0.1828)
OKLCHoklch(61.43% 0.191 286.7)
XYZxyz(29.7352, 21.3353, 84.1960)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806BEF #DAEF6B
analogous
#6B98EF #806BEF #C26BEF
triadic
#806BEF #EF806B #6BEF80
tetradic
#806BEF #EF6B98 #DAEF6B #6BEFC2
square
#806BEF #EF6B98 #DAEF6B #6BEFC2
split-complementary
#806BEF #EFC26B #98EF6B
monochromatic
#3216CA #5134E9 #806BEF #AFA2F5 #DFD9FB

Accessibility & contrast

On white

3.99
#806BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#806BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806BEF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806BEF#FFFFFF#000000##000000
##806BEF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B83F3
Deuteranopia (green-blind)
#187CEC
Tritanopia (blue-blind)
#5B88A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #806bef;
/* rgb */ color: rgb(128, 107, 239);
/* oklch */ color: oklch(61.4% 0.191 286.7);
Tailwind
colors: {
  custom: {
    50: '#ac96f5',
    500: '#806bef',
    950: '#000000',
  },
}
SCSS
$custom: #806bef;
$custom-light: #ac96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#806bef",
  "rgb": {
    "r": 128,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 249.545,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61427,
    "c": 0.19077,
    "h": 286.7
  },
  "luminance": 0.21337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #806BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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