#806CD7#806CD7

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

Color values

HEX#806CD7
RGBrgb(128, 108, 215)
HSLhsl(251, 57%, 63%)
HSVhsv(251, 50%, 84%)
CMYKcmyk(40.5%, 49.8%, 0%, 15.7%)
CIE-LABlab(52.08, 33.28, -52.54)
CIE-LCHlch(52.08, 62.20, 302.35°)
OKLaboklab(60.04% 0.0523 -0.1489)
OKLCHoklch(60.04% 0.158 289.4)
XYZxyz(26.5270, 20.2198, 66.7819)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CD7 #C3D76C
analogous
#6C8DD7 #806CD7 #B56CD7
triadic
#806CD7 #D7806C #6CD780
tetradic
#806CD7 #D76C8D #C3D76C #6CD7B5
square
#806CD7 #D76C8D #C3D76C #6CD7B5
split-complementary
#806CD7 #D7B56C #8DD76C
monochromatic
#402B9E #563CCA #806CD7 #AA9CE4 #D3CCF1

Accessibility & contrast

On white

4.16
#806CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#806CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CD7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CD7#FFFFFF#000000##000000
##806CD71.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#407EDB
Deuteranopia (green-blind)
#417AD5
Tritanopia (blue-blind)
#688297
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #806cd7;
/* rgb */ color: rgb(128, 108, 215);
/* oklch */ color: oklch(60.0% 0.158 289.4);
Tailwind
colors: {
  custom: {
    50: '#a996e4',
    500: '#806cd7',
    950: '#000000',
  },
}
SCSS
$custom: #806cd7;
$custom-light: #a996e4;
$custom-dark: #000000;
JSON
{
  "hex": "#806cd7",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 251.215,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.15784,
    "h": 289.4
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #806CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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