#806AEF#806AEF

#806AEF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.3% C 0.192 H 286.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#806AEF
RGBrgb(128, 106, 239)
HSLhsl(250, 81%, 68%)
HSVhsv(250, 56%, 94%)
CMYKcmyk(46.4%, 55.6%, 0%, 6.3%)
CIE-LABlab(53.09, 41.23, -64.43)
CIE-LCHlch(53.09, 76.49, 302.62°)
OKLaboklab(61.26% 0.0558 -0.1838)
OKLCHoklch(61.26% 0.192 286.9)
XYZxyz(29.6316, 21.1280, 84.1614)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806AEF #D9EF6A
analogous
#6A96EF #806AEF #C36AEF
triadic
#806AEF #EF806A #6AEF80
tetradic
#806AEF #EF6A96 #D9EF6A #6AEFC3
square
#806AEF #EF6A96 #D9EF6A #6AEFC3
split-complementary
#806AEF #EFC36A #96EF6A
monochromatic
#3316C9 #5133E9 #806AEF #AFA1F5 #DED9FB

Accessibility & contrast

On white

4.02
#806AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#806AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806AEF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806AEF#FFFFFF#000000##000000
##806AEF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1582F3
Deuteranopia (green-blind)
#137BEC
Tritanopia (blue-blind)
#5B88A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #806aef;
/* rgb */ color: rgb(128, 106, 239);
/* oklch */ color: oklch(61.3% 0.192 286.9);
Tailwind
colors: {
  custom: {
    50: '#ac95f5',
    500: '#806aef',
    950: '#000000',
  },
}
SCSS
$custom: #806aef;
$custom-light: #ac95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#806aef",
  "rgb": {
    "r": 128,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 249.925,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6126,
    "c": 0.19212,
    "h": 286.9
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

primary
#806AEF
secondary
#E8EFC6
accent
#DD09BA
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #806AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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