#806CD2#806CD2

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

Color values

HEX#806CD2
RGBrgb(128, 108, 210)
HSLhsl(252, 53%, 62%)
HSVhsv(252, 49%, 82%)
CMYKcmyk(39%, 48.6%, 0%, 17.6%)
CIE-LABlab(51.80, 31.90, -50.16)
CIE-LCHlch(51.80, 59.44, 302.45°)
OKLaboklab(59.74% 0.0519 -0.1419)
OKLCHoklch(59.74% 0.151 290.1)
XYZxyz(25.8943, 19.9667, 63.4499)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CD2 #BED26C
analogous
#6C8BD2 #806CD2 #B36CD2
triadic
#806CD2 #D2806C #6CD280
tetradic
#806CD2 #D26C8B #BED26C #6CD2B3
square
#806CD2 #D26C8B #BED26C #6CD2B3
split-complementary
#806CD2 #D2B36C #8BD26C
monochromatic
#422E96 #583DC4 #806CD2 #A89BE0 #D1CAEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##806CD2#FFFFFF#000000##000000
##806CD21.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)
#457DD6
Deuteranopia (green-blind)
#4679D0
Tritanopia (blue-blind)
#6A8195
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #806cd2;
/* rgb */ color: rgb(128, 108, 210);
/* oklch */ color: oklch(59.7% 0.151 290.1);
Tailwind
colors: {
  custom: {
    50: '#a996e0',
    500: '#806cd2',
    950: '#000000',
  },
}
SCSS
$custom: #806cd2;
$custom-light: #a996e0;
$custom-dark: #000000;
JSON
{
  "hex": "#806cd2",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 251.765,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59737,
    "c": 0.1511,
    "h": 290.1
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#806CD2
secondary
#D8E0BA
accent
#C125A2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #806CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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