#806EC2#806EC2

#806EC2 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.2% C 0.126 H 291.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#806EC2
RGBrgb(128, 110, 194)
HSLhsl(253, 41%, 60%)
HSVhsv(253, 43%, 76%)
CMYKcmyk(34%, 43.3%, 0%, 23.9%)
CIE-LABlab(51.42, 26.35, -41.62)
CIE-LCHlch(51.42, 49.25, 302.34°)
OKLaboklab(59.17% 0.0471 -0.1169)
OKLCHoklch(59.17% 0.126 291.9)
XYZxyz(24.2131, 19.6356, 53.5428)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806EC2 #B0C26E
analogous
#6E86C2 #806EC2 #AA6EC2
triadic
#806EC2 #C2806E #6EC280
tetradic
#806EC2 #C26E86 #B0C26E #6EC2AA
square
#806EC2 #C26E86 #B0C26E #6EC2AA
split-complementary
#806EC2 #C2AA6E #86C26E
monochromatic
#463680 #5D48AB #806EC2 #A699D4 #CBC4E6

Accessibility & contrast

On white

4.26
#806EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#806EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806EC2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806EC2#FFFFFF#000000##000000
##806EC21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#5579C0
Tritanopia (blue-blind)
#707E8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #806ec2;
/* rgb */ color: rgb(128, 110, 194);
/* oklch */ color: oklch(59.2% 0.126 291.9);
Tailwind
colors: {
  custom: {
    50: '#a797d5',
    500: '#806ec2',
    950: '#000000',
  },
}
SCSS
$custom: #806ec2;
$custom-light: #a797d5;
$custom-dark: #000000;
JSON
{
  "hex": "#806ec2",
  "rgb": {
    "r": 128,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 252.857,
    "s": 40.777,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.12608,
    "h": 291.9
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#806EC2
secondary
#CFD6B6
accent
#D157B7
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #806EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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