#806FC4#806FC4

#806FC4 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.5% C 0.127 H 291.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#806FC4
RGBrgb(128, 111, 196)
HSLhsl(252, 42%, 60%)
HSVhsv(252, 43%, 77%)
CMYKcmyk(34.7%, 43.4%, 0%, 23.1%)
CIE-LABlab(51.77, 26.29, -42.21)
CIE-LCHlch(51.77, 49.73, 301.92°)
OKLaboklab(59.47% 0.0461 -0.1187)
OKLCHoklch(59.47% 0.127 291.2)
XYZxyz(24.5477, 19.9430, 54.7699)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806FC4 #B3C46F
analogous
#6F88C4 #806FC4 #AA6FC4
triadic
#806FC4 #C4806F #6FC480
tetradic
#806FC4 #C46F88 #B3C46F #6FC4AA
square
#806FC4 #C46F88 #B3C46F #6FC4AA
split-complementary
#806FC4 #C4AA6F #88C46F
monochromatic
#453683 #5C47AE #806FC4 #A69AD6 #CDC6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##806FC4#FFFFFF#000000##000000
##806FC41.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)
#537DC7
Deuteranopia (green-blind)
#557AC2
Tritanopia (blue-blind)
#6F7F90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #806fc4;
/* rgb */ color: rgb(128, 111, 196);
/* oklch */ color: oklch(59.5% 0.127 291.2);
Tailwind
colors: {
  custom: {
    50: '#a798d6',
    500: '#806fc4',
    950: '#000000',
  },
}
SCSS
$custom: #806fc4;
$custom-light: #a798d6;
$custom-dark: #000000;
JSON
{
  "hex": "#806fc4",
  "rgb": {
    "r": 128,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 252,
    "s": 41.872,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.12731,
    "h": 291.2
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#806FC4
secondary
#D1D8B7
accent
#B5319A
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #806FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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