#806CEB#806CEB

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

Color values

HEX#806CEB
RGBrgb(128, 108, 235)
HSLhsl(249, 76%, 67%)
HSVhsv(249, 54%, 92%)
CMYKcmyk(45.5%, 54%, 0%, 7.8%)
CIE-LABlab(53.29, 38.94, -61.87)
CIE-LCHlch(53.29, 73.10, 302.18°)
OKLaboklab(61.33% 0.0535 -0.1763)
OKLCHoklch(61.33% 0.184 286.9)
XYZxyz(29.2557, 21.3113, 81.1531)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CEB #D7EB6C
analogous
#6C97EB #806CEB #C06CEB
triadic
#806CEB #EB806C #6CEB80
tetradic
#806CEB #EB6C97 #D7EB6C #6CEBC0
square
#806CEB #EB6C97 #D7EB6C #6CEBC0
split-complementary
#806CEB #EBC06C #97EB6C
monochromatic
#351AC2 #5136E4 #806CEB #AFA2F2 #DDD8FA

Accessibility & contrast

On white

3.99
#806CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#806CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CEB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CEB#FFFFFF#000000##000000
##806CEB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#267CE8
Tritanopia (blue-blind)
#5E88A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #806ceb;
/* rgb */ color: rgb(128, 108, 235);
/* oklch */ color: oklch(61.3% 0.184 286.9);
Tailwind
colors: {
  custom: {
    50: '#ab96f2',
    500: '#806ceb',
    950: '#000000',
  },
}
SCSS
$custom: #806ceb;
$custom-light: #ab96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#806ceb",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 249.449,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61327,
    "c": 0.18424,
    "h": 286.9
  },
  "luminance": 0.21312
}

Semantic roles & 50–950 ramp

primary
#806CEB
secondary
#E7EDC5
accent
#D80DB8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #806CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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