#806DEF#806DEF

#806DEF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.8% C 0.188 H 286.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#806DEF
RGBrgb(128, 109, 239)
HSLhsl(249, 80%, 68%)
HSVhsv(249, 54%, 94%)
CMYKcmyk(46.4%, 54.4%, 0%, 6.3%)
CIE-LABlab(53.77, 39.50, -63.33)
CIE-LCHlch(53.77, 74.64, 301.95°)
OKLaboklab(61.76% 0.0525 -0.1806)
OKLCHoklch(61.76% 0.188 286.2)
XYZxyz(29.9462, 21.7572, 84.2663)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806DEF #DCEF6D
analogous
#6D9BEF #806DEF #C16DEF
triadic
#806DEF #EF806D #6DEF80
tetradic
#806DEF #EF6D9B #DCEF6D #6DEFC1
square
#806DEF #EF6D9B #DCEF6D #6DEFC1
split-complementary
#806DEF #EFC16D #9BEF6D
monochromatic
#3116CB #5036E9 #806DEF #B0A4F5 #E0DBFB

Accessibility & contrast

On white

3.92
#806DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#806DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806DEF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806DEF#FFFFFF#000000##000000
##806DEF1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2384F3
Deuteranopia (green-blind)
#207DEC
Tritanopia (blue-blind)
#5B8AA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #806def;
/* rgb */ color: rgb(128, 109, 239);
/* oklch */ color: oklch(61.8% 0.188 286.2);
Tailwind
colors: {
  custom: {
    50: '#ac97f5',
    500: '#806def',
    950: '#000000',
  },
}
SCSS
$custom: #806def;
$custom-light: #ac97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#806def",
  "rgb": {
    "r": 128,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 248.769,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.18807,
    "h": 286.2
  },
  "luminance": 0.21758
}

Semantic roles & 50–950 ramp

primary
#806DEF
secondary
#EAF0C8
accent
#DD09BE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #806DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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