#806BC2#806BC2

#806BC2 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 58.6% C 0.131 H 293.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#806BC2
RGBrgb(128, 107, 194)
HSLhsl(254, 42%, 59%)
HSVhsv(254, 45%, 76%)
CMYKcmyk(34%, 44.8%, 0%, 23.9%)
CIE-LABlab(50.69, 28.13, -42.78)
CIE-LCHlch(50.69, 51.20, 303.32°)
OKLaboklab(58.62% 0.0512 -0.1203)
OKLCHoklch(58.62% 0.131 293)
XYZxyz(23.8949, 18.9991, 53.4367)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806BC2 #ADC26B
analogous
#6B82C2 #806BC2 #AC6BC2
triadic
#806BC2 #C2806B #6BC280
tetradic
#806BC2 #C26B82 #ADC26B #6BC2AC
square
#806BC2 #C26B82 #ADC26B #6BC2AC
split-complementary
#806BC2 #C2AC6B #82C26B
monochromatic
#46347E #5E46AA #806BC2 #A596D4 #CAC2E6

Accessibility & contrast

On white

4.38
#806BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#806BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806BC2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806BC2#FFFFFF#000000##000000
##806BC21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#707B8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #806bc2;
/* rgb */ color: rgb(128, 107, 194);
/* oklch */ color: oklch(58.6% 0.131 293.0);
Tailwind
colors: {
  custom: {
    50: '#a795d5',
    500: '#806bc2',
    950: '#000000',
  },
}
SCSS
$custom: #806bc2;
$custom-light: #a795d5;
$custom-dark: #000000;
JSON
{
  "hex": "#806bc2",
  "rgb": {
    "r": 128,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 254.483,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58616,
    "c": 0.13078,
    "h": 293
  },
  "luminance": 0.19
}

Semantic roles & 50–950 ramp

primary
#806BC2
secondary
#CDD5B3
accent
#D156B4
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #806BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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