#806CE7#806CE7

#806CE7 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.1% C 0.179 H 287.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#806CE7
RGBrgb(128, 108, 231)
HSLhsl(250, 72%, 66%)
HSVhsv(250, 53%, 91%)
CMYKcmyk(44.6%, 53.2%, 0%, 9.4%)
CIE-LABlab(53.04, 37.80, -60.03)
CIE-LCHlch(53.04, 70.94, 302.19°)
OKLaboklab(61.06% 0.0533 -0.1709)
OKLCHoklch(61.06% 0.179 287.3)
XYZxyz(28.6843, 21.0827, 78.1438)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CE7 #D3E76C
analogous
#6C96E7 #806CE7 #BE6CE7
triadic
#806CE7 #E7806C #6CE780
tetradic
#806CE7 #E76C96 #D3E76C #6CE7BE
square
#806CE7 #E76C96 #D3E76C #6CE7BE
split-complementary
#806CE7 #E7BE6C #96E76C
monochromatic
#381EBA #5337DE #806CE7 #ADA1F0 #DBD5F8

Accessibility & contrast

On white

4.03
#806CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#806CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CE7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CE7#FFFFFF#000000##000000
##806CE71.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EB
Deuteranopia (green-blind)
#2D7BE4
Tritanopia (blue-blind)
#60879F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #806ce7;
/* rgb */ color: rgb(128, 108, 231);
/* oklch */ color: oklch(61.1% 0.179 287.3);
Tailwind
colors: {
  custom: {
    50: '#ab96ef',
    500: '#806ce7',
    950: '#000000',
  },
}
SCSS
$custom: #806ce7;
$custom-light: #ab96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#806ce7",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 249.756,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.17903,
    "h": 287.3
  },
  "luminance": 0.21084
}

Semantic roles & 50–950 ramp

primary
#806CE7
secondary
#E5EBC3
accent
#D412B4
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #806CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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