#806AEB#806AEB

#806AEB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.187 H 287.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#806AEB
RGBrgb(128, 106, 235)
HSLhsl(250, 76%, 67%)
HSVhsv(250, 55%, 92%)
CMYKcmyk(45.5%, 54.9%, 0%, 7.8%)
CIE-LABlab(52.83, 40.09, -62.60)
CIE-LCHlch(52.83, 74.34, 302.64°)
OKLaboklab(60.99% 0.0557 -0.1785)
OKLCHoklch(60.99% 0.187 287.3)
XYZxyz(29.0472, 20.8942, 81.0836)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806AEB #D5EB6A
analogous
#6A94EB #806AEB #C16AEB
triadic
#806AEB #EB806A #6AEB80
tetradic
#806AEB #EB6A94 #D5EB6A #6AEBC1
square
#806AEB #EB6A94 #D5EB6A #6AEBC1
split-complementary
#806AEB #EBC16A #94EB6A
monochromatic
#361AC1 #5234E4 #806AEB #AEA0F2 #DCD6F9

Accessibility & contrast

On white

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

On black

5.18
#806AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806AEB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806AEB#FFFFFF#000000##000000
##806AEB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#1F7BE8
Tritanopia (blue-blind)
#5E86A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #806aeb;
/* rgb */ color: rgb(128, 106, 235);
/* oklch */ color: oklch(61.0% 0.187 287.3);
Tailwind
colors: {
  custom: {
    50: '#ab95f2',
    500: '#806aeb',
    950: '#000000',
  },
}
SCSS
$custom: #806aeb;
$custom-light: #ab95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#806aeb",
  "rgb": {
    "r": 128,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 250.233,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.18697,
    "h": 287.3
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#806AEB
secondary
#E6EDC4
accent
#D90DB6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #806AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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