#806CD5#806CD5

#806CD5 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.9% C 0.155 H 289.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#806CD5
RGBrgb(128, 108, 213)
HSLhsl(251, 56%, 63%)
HSVhsv(251, 49%, 84%)
CMYKcmyk(39.9%, 49.3%, 0%, 16.5%)
CIE-LABlab(51.97, 32.73, -51.59)
CIE-LCHlch(51.97, 61.09, 302.39°)
OKLaboklab(59.92% 0.0522 -0.1461)
OKLCHoklch(59.92% 0.155 289.6)
XYZxyz(26.2716, 20.1176, 65.4368)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CD5 #C1D56C
analogous
#6C8CD5 #806CD5 #B56CD5
triadic
#806CD5 #D5806C #6CD580
tetradic
#806CD5 #D56C8C #C1D56C #6CD5B5
square
#806CD5 #D56C8C #C1D56C #6CD5B5
split-complementary
#806CD5 #D5B56C #8CD56C
monochromatic
#412C9A #573CC7 #806CD5 #A99CE3 #D2CBF0

Accessibility & contrast

On white

4.18
#806CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#806CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CD5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CD5#FFFFFF#000000##000000
##806CD51.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED9
Deuteranopia (green-blind)
#4379D3
Tritanopia (blue-blind)
#698196
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #806cd5;
/* rgb */ color: rgb(128, 108, 213);
/* oklch */ color: oklch(59.9% 0.155 289.6);
Tailwind
colors: {
  custom: {
    50: '#a996e2',
    500: '#806cd5',
    950: '#000000',
  },
}
SCSS
$custom: #806cd5;
$custom-light: #a996e2;
$custom-dark: #000000;
JSON
{
  "hex": "#806cd5",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 251.429,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5992,
    "c": 0.15515,
    "h": 289.6
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#806CD5
secondary
#DAE1BB
accent
#C322A4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #806CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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