#806BD6#806BD6

#806BD6 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.8% C 0.158 H 289.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#806BD6
RGBrgb(128, 107, 214)
HSLhsl(252, 57%, 63%)
HSVhsv(252, 50%, 84%)
CMYKcmyk(40.2%, 50%, 0%, 16.1%)
CIE-LABlab(51.79, 33.59, -52.44)
CIE-LCHlch(51.79, 62.28, 302.64°)
OKLaboklab(59.8% 0.0535 -0.1486)
OKLCHoklch(59.8% 0.158 289.8)
XYZxyz(26.2940, 19.9588, 66.0723)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806BD6 #C1D66B
analogous
#6B8BD6 #806BD6 #B66BD6
triadic
#806BD6 #D6806B #6BD680
tetradic
#806BD6 #D66B8B #C1D66B #6BD6B6
square
#806BD6 #D66B8B #C1D66B #6BD6B6
split-complementary
#806BD6 #D6B66B #8BD66B
monochromatic
#412B9C #573BC9 #806BD6 #A99BE3 #D2CBF1

Accessibility & contrast

On white

4.21
#806BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#806BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806BD6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806BD6#FFFFFF#000000##000000
##806BD61.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7EDA
Deuteranopia (green-blind)
#4179D4
Tritanopia (blue-blind)
#688196
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #806bd6;
/* rgb */ color: rgb(128, 107, 214);
/* oklch */ color: oklch(59.8% 0.158 289.8);
Tailwind
colors: {
  custom: {
    50: '#a996e3',
    500: '#806bd6',
    950: '#000000',
  },
}
SCSS
$custom: #806bd6;
$custom-light: #a996e3;
$custom-dark: #000000;
JSON
{
  "hex": "#806bd6",
  "rgb": {
    "r": 128,
    "g": 107,
    "b": 214
  },
  "hsl": {
    "h": 251.776,
    "s": 56.614,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.15795,
    "h": 289.8
  },
  "luminance": 0.1996
}

Semantic roles & 50–950 ramp

primary
#806BD6
secondary
#DAE2BB
accent
#C421A4
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D15
muted
#7F7E84

Preview Lab

Preview with #806BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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