#806AEC#806AEC

#806AEC is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.1% C 0.188 H 287.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#806AEC
RGBrgb(128, 106, 236)
HSLhsl(250, 77%, 67%)
HSVhsv(250, 55%, 93%)
CMYKcmyk(45.8%, 55.1%, 0%, 7.5%)
CIE-LABlab(52.90, 40.38, -63.06)
CIE-LCHlch(52.90, 74.88, 302.63°)
OKLaboklab(61.06% 0.0558 -0.1798)
OKLCHoklch(61.06% 0.188 287.2)
XYZxyz(29.1921, 20.9522, 81.8467)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806AEC #D6EC6A
analogous
#6A95EC #806AEC #C16AEC
triadic
#806AEC #EC806A #6AEC80
tetradic
#806AEC #EC6A95 #D6EC6A #6AECC1
square
#806AEC #EC6A95 #D6EC6A #6AECC1
split-complementary
#806AEC #ECC16A #95EC6A
monochromatic
#3619C3 #5234E5 #806AEC #AEA0F3 #DDD7FA

Accessibility & contrast

On white

4.05
#806AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#806AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806AEC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806AEC#FFFFFF#000000##000000
##806AEC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E81F0
Deuteranopia (green-blind)
#1D7BE9
Tritanopia (blue-blind)
#5D87A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #806aec;
/* rgb */ color: rgb(128, 106, 236);
/* oklch */ color: oklch(61.1% 0.188 287.2);
Tailwind
colors: {
  custom: {
    50: '#ab95f3',
    500: '#806aec',
    950: '#000000',
  },
}
SCSS
$custom: #806aec;
$custom-light: #ab95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#806aec",
  "rgb": {
    "r": 128,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 250.154,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.18826,
    "h": 287.2
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#806AEC
secondary
#E7EEC4
accent
#DA0CB7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #806AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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