#806DEC#806DEC

#806DEC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.6% C 0.184 H 286.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#806DEC
RGBrgb(128, 109, 236)
HSLhsl(249, 77%, 68%)
HSVhsv(249, 54%, 93%)
CMYKcmyk(45.8%, 53.8%, 0%, 7.5%)
CIE-LABlab(53.58, 38.64, -61.96)
CIE-LCHlch(53.58, 73.02, 301.95°)
OKLaboklab(61.56% 0.0524 -0.1766)
OKLCHoklch(61.56% 0.184 286.5)
XYZxyz(29.5067, 21.5813, 81.9515)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806DEC #D9EC6D
analogous
#6D9AEC #806DEC #BF6DEC
triadic
#806DEC #EC806D #6DEC80
tetradic
#806DEC #EC6D9A #D9EC6D #6DECBF
square
#806DEC #EC6D9A #D9EC6D #6DECBF
split-complementary
#806DEC #ECBF6D #9AEC6D
monochromatic
#331AC5 #5137E5 #806DEC #AFA3F3 #DED9FA

Accessibility & contrast

On white

3.95
#806DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#806DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806DEC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806DEC#FFFFFF#000000##000000
##806DEC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#267CE9
Tritanopia (blue-blind)
#5D89A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #806dec;
/* rgb */ color: rgb(128, 109, 236);
/* oklch */ color: oklch(61.6% 0.184 286.5);
Tailwind
colors: {
  custom: {
    50: '#ab97f3',
    500: '#806dec',
    950: '#000000',
  },
}
SCSS
$custom: #806dec;
$custom-light: #ab97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#806dec",
  "rgb": {
    "r": 128,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 248.976,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61563,
    "c": 0.18417,
    "h": 286.5
  },
  "luminance": 0.21583
}

Semantic roles & 50–950 ramp

primary
#806DEC
secondary
#E8EEC7
accent
#D90CBB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #806DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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