#806FEB#806FEB

#806FEB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.180 H 286.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#806FEB
RGBrgb(128, 111, 235)
HSLhsl(248, 76%, 68%)
HSVhsv(248, 53%, 92%)
CMYKcmyk(45.5%, 52.8%, 0%, 7.8%)
CIE-LABlab(53.98, 37.19, -60.76)
CIE-LCHlch(53.98, 71.24, 301.47°)
OKLaboklab(61.84% 0.0501 -0.173)
OKLCHoklch(61.84% 0.18 286.1)
XYZxyz(29.5776, 21.9550, 81.2604)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806FEB #DAEB6F
analogous
#6F9CEB #806FEB #BE6FEB
triadic
#806FEB #EB806F #6FEB80
tetradic
#806FEB #EB6F9C #DAEB6F #6FEBBE
square
#806FEB #EB6F9C #DAEB6F #6FEBBE
split-complementary
#806FEB #EBBE6F #9CEB6F
monochromatic
#321BC4 #5139E4 #806FEB #AFA5F2 #DFDAFA

Accessibility & contrast

On white

3.90
#806FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#806FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806FEB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806FEB#FFFFFF#000000##000000
##806FEB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#2D7DE8
Tritanopia (blue-blind)
#5D8AA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #806feb;
/* rgb */ color: rgb(128, 111, 235);
/* oklch */ color: oklch(61.8% 0.180 286.1);
Tailwind
colors: {
  custom: {
    50: '#ab98f2',
    500: '#806feb',
    950: '#000000',
  },
}
SCSS
$custom: #806feb;
$custom-light: #ab98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#806feb",
  "rgb": {
    "r": 128,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 248.226,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6184,
    "c": 0.18013,
    "h": 286.1
  },
  "luminance": 0.21956
}

Semantic roles & 50–950 ramp

primary
#806FEB
secondary
#E9EEC8
accent
#D80EBC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #806FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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