#806CD6#806CD6

#806CD6 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.156 H 289.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#806CD6
RGBrgb(128, 108, 214)
HSLhsl(251, 56%, 63%)
HSVhsv(251, 50%, 84%)
CMYKcmyk(40.2%, 49.5%, 0%, 16.1%)
CIE-LABlab(52.03, 33.01, -52.06)
CIE-LCHlch(52.03, 61.65, 302.37°)
OKLaboklab(59.98% 0.0522 -0.1475)
OKLCHoklch(59.98% 0.156 289.5)
XYZxyz(26.3989, 20.1685, 66.1073)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CD6 #C2D66C
analogous
#6C8DD6 #806CD6 #B56CD6
triadic
#806CD6 #D6806C #6CD680
tetradic
#806CD6 #D66C8D #C2D66C #6CD6B5
square
#806CD6 #D66C8D #C2D66C #6CD6B5
split-complementary
#806CD6 #D6B56C #8DD66C
monochromatic
#412C9C #573CC9 #806CD6 #A99CE3 #D3CCF1

Accessibility & contrast

On white

4.17
#806CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#806CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CD6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CD6#FFFFFF#000000##000000
##806CD61.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#417EDA
Deuteranopia (green-blind)
#427AD4
Tritanopia (blue-blind)
#688297
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #806cd6;
/* rgb */ color: rgb(128, 108, 214);
/* oklch */ color: oklch(60.0% 0.156 289.5);
Tailwind
colors: {
  custom: {
    50: '#a996e3',
    500: '#806cd6',
    950: '#000000',
  },
}
SCSS
$custom: #806cd6;
$custom-light: #a996e3;
$custom-dark: #000000;
JSON
{
  "hex": "#806cd6",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 251.321,
    "s": 56.383,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59981,
    "c": 0.15649,
    "h": 289.5
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#806CD6
secondary
#DBE2BC
accent
#C422A5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D15
muted
#7F7E84

Preview Lab

Preview with #806CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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