#806FC2#806FC2

#806FC2 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.4% C 0.125 H 291.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#806FC2
RGBrgb(128, 111, 194)
HSLhsl(252, 40%, 60%)
HSVhsv(252, 43%, 76%)
CMYKcmyk(34%, 42.8%, 0%, 23.9%)
CIE-LABlab(51.67, 25.75, -41.22)
CIE-LCHlch(51.67, 48.61, 301.99°)
OKLaboklab(59.36% 0.0458 -0.1158)
OKLCHoklch(59.36% 0.125 291.6)
XYZxyz(24.3216, 19.8526, 53.5790)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806FC2 #B1C26F
analogous
#6F88C2 #806FC2 #AA6FC2
triadic
#806FC2 #C2806F #6FC280
tetradic
#806FC2 #C26F88 #B1C26F #6FC2AA
square
#806FC2 #C26F88 #B1C26F #6FC2AA
split-complementary
#806FC2 #C2AA6F #88C26F
monochromatic
#453680 #5D49AB #806FC2 #A69AD4 #CCC5E6

Accessibility & contrast

On white

4.22
#806FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#806FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806FC2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806FC2#FFFFFF#000000##000000
##806FC21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#567AC0
Tritanopia (blue-blind)
#707F8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #806fc2;
/* rgb */ color: rgb(128, 111, 194);
/* oklch */ color: oklch(59.4% 0.125 291.6);
Tailwind
colors: {
  custom: {
    50: '#a798d5',
    500: '#806fc2',
    950: '#000000',
  },
}
SCSS
$custom: #806fc2;
$custom-light: #a798d5;
$custom-dark: #000000;
JSON
{
  "hex": "#806fc2",
  "rgb": {
    "r": 128,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 252.289,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5936,
    "c": 0.12452,
    "h": 291.6
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#806FC2
secondary
#D0D6B6
accent
#D057B8
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #806FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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