#806CEA#806CEA

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

Color values

HEX#806CEA
RGBrgb(128, 108, 234)
HSLhsl(250, 75%, 67%)
HSVhsv(250, 54%, 92%)
CMYKcmyk(45.3%, 53.8%, 0%, 8.2%)
CIE-LABlab(53.23, 38.65, -61.41)
CIE-LCHlch(53.23, 72.56, 302.19°)
OKLaboklab(61.26% 0.0534 -0.175)
OKLCHoklch(61.26% 0.183 287)
XYZxyz(29.1116, 21.2536, 80.3944)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CEA #D6EA6C
analogous
#6C97EA #806CEA #BF6CEA
triadic
#806CEA #EA806C #6CEA80
tetradic
#806CEA #EA6C97 #D6EA6C #6CEABF
square
#806CEA #EA6C97 #D6EA6C #6CEABF
split-complementary
#806CEA #EABF6C #97EA6C
monochromatic
#361BC0 #5236E2 #806CEA #AEA2F2 #DDD7F9

Accessibility & contrast

On white

4.00
#806CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#806CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CEA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CEA#FFFFFF#000000##000000
##806CEA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#287CE7
Tritanopia (blue-blind)
#5E87A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #806cea;
/* rgb */ color: rgb(128, 108, 234);
/* oklch */ color: oklch(61.3% 0.183 287.0);
Tailwind
colors: {
  custom: {
    50: '#ab96f1',
    500: '#806cea',
    950: '#000000',
  },
}
SCSS
$custom: #806cea;
$custom-light: #ab96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#806cea",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 249.524,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6126,
    "c": 0.18294,
    "h": 287
  },
  "luminance": 0.21255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #806CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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