#806CD9#806CD9

#806CD9 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.2% C 0.161 H 289.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#806CD9
RGBrgb(128, 108, 217)
HSLhsl(251, 59%, 64%)
HSVhsv(251, 50%, 85%)
CMYKcmyk(41%, 50.2%, 0%, 14.9%)
CIE-LABlab(52.20, 33.84, -53.49)
CIE-LCHlch(52.20, 63.29, 302.32°)
OKLaboklab(60.17% 0.0525 -0.1517)
OKLCHoklch(60.17% 0.161 289.1)
XYZxyz(26.7856, 20.3232, 68.1437)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CD9 #C5D96C
analogous
#6C8ED9 #806CD9 #B66CD9
triadic
#806CD9 #D9806C #6CD980
tetradic
#806CD9 #D96C8E #C5D96C #6CD9B6
square
#806CD9 #D96C8E #C5D96C #6CD9B6
split-complementary
#806CD9 #D9B66C #8ED96C
monochromatic
#402AA1 #563BCC #806CD9 #AA9DE6 #D4CDF2

Accessibility & contrast

On white

4.15
#806CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#806CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CD9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CD9#FFFFFF#000000##000000
##806CD91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7FDD
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#678298
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #806cd9;
/* rgb */ color: rgb(128, 108, 217);
/* oklch */ color: oklch(60.2% 0.161 289.1);
Tailwind
colors: {
  custom: {
    50: '#a996e5',
    500: '#806cd9',
    950: '#000000',
  },
}
SCSS
$custom: #806cd9;
$custom-light: #a996e5;
$custom-dark: #000000;
JSON
{
  "hex": "#806cd9",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 251.009,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.16051,
    "h": 289.1
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#806CD9
secondary
#DDE4BD
accent
#C71FA8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #806CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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