#806CDB#806CDB

#806CDB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.3% C 0.163 H 288.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#806CDB
RGBrgb(128, 108, 219)
HSLhsl(251, 61%, 64%)
HSVhsv(251, 51%, 86%)
CMYKcmyk(41.6%, 50.7%, 0%, 14.1%)
CIE-LABlab(52.32, 34.40, -54.43)
CIE-LCHlch(52.32, 64.39, 302.30°)
OKLaboklab(60.29% 0.0527 -0.1545)
OKLCHoklch(60.29% 0.163 288.8)
XYZxyz(27.0473, 20.4279, 69.5220)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CDB #C7DB6C
analogous
#6C90DB #806CDB #B86CDB
triadic
#806CDB #DB806C #6CDB80
tetradic
#806CDB #DB6C90 #C7DB6C #6CDBB8
square
#806CDB #DB6C90 #C7DB6C #6CDBB8
split-complementary
#806CDB #DBB86C #90DB6C
monochromatic
#3F28A4 #563BCF #806CDB #AA9DE7 #D5CEF3

Accessibility & contrast

On white

4.13
#806CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#806CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CDB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CDB#FFFFFF#000000##000000
##806CDB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#668399
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #806cdb;
/* rgb */ color: rgb(128, 108, 219);
/* oklch */ color: oklch(60.3% 0.163 288.8);
Tailwind
colors: {
  custom: {
    50: '#aa96e7',
    500: '#806cdb',
    950: '#000000',
  },
}
SCSS
$custom: #806cdb;
$custom-light: #aa96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#806cdb",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 250.811,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60292,
    "c": 0.16319,
    "h": 288.8
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#806CDB
secondary
#DEE5BE
accent
#C81DA9
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #806CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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