#806CD4#806CD4

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

Color values

HEX#806CD4
RGBrgb(128, 108, 212)
HSLhsl(252, 55%, 63%)
HSVhsv(252, 49%, 83%)
CMYKcmyk(39.6%, 49.1%, 0%, 16.9%)
CIE-LABlab(51.91, 32.45, -51.11)
CIE-LCHlch(51.91, 60.54, 302.41°)
OKLaboklab(59.86% 0.0521 -0.1447)
OKLCHoklch(59.86% 0.154 289.8)
XYZxyz(26.1451, 20.0670, 64.7704)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CD4 #C0D46C
analogous
#6C8CD4 #806CD4 #B46CD4
triadic
#806CD4 #D4806C #6CD480
tetradic
#806CD4 #D46C8C #C0D46C #6CD4B4
square
#806CD4 #D46C8C #C0D46C #6CD4B4
split-complementary
#806CD4 #D4B46C #8CD46C
monochromatic
#422D99 #573DC6 #806CD4 #A99BE2 #D2CBF0

Accessibility & contrast

On white

4.19
#806CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#806CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CD4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CD4#FFFFFF#000000##000000
##806CD41.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#437ED8
Deuteranopia (green-blind)
#4479D2
Tritanopia (blue-blind)
#698196
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #806cd4;
/* rgb */ color: rgb(128, 108, 212);
/* oklch */ color: oklch(59.9% 0.154 289.8);
Tailwind
colors: {
  custom: {
    50: '#a996e2',
    500: '#806cd4',
    950: '#000000',
  },
}
SCSS
$custom: #806cd4;
$custom-light: #a996e2;
$custom-dark: #000000;
JSON
{
  "hex": "#806cd4",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 251.538,
    "s": 54.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.1538,
    "h": 289.8
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#806CD4
secondary
#D9E1BB
accent
#C223A4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #806CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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