#806CA2#806CA2

#806CA2 is a mid, moderate violet. Relative luminance 0.179; OKLCH L 57.1% C 0.084 H 300.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#806CA2
RGBrgb(128, 108, 162)
HSLhsl(262, 23%, 53%)
HSVhsv(262, 33%, 64%)
CMYKcmyk(21%, 33.3%, 0%, 36.5%)
CIE-LABlab(49.40, 19.33, -26.22)
CIE-LCHlch(49.40, 32.58, 306.39°)
OKLaboklab(57.14% 0.0432 -0.0724)
OKLCHoklch(57.14% 0.084 300.8)
XYZxyz(20.7848, 17.9229, 36.5399)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CA2 #8EA26C
analogous
#6C73A2 #806CA2 #9B6CA2
triadic
#806CA2 #A2806C #6CA280
tetradic
#806CA2 #A26C73 #8EA26C #6CA29B
square
#806CA2 #A26C73 #8EA26C #6CA29B
split-complementary
#806CA2 #A29B6C #73A26C
monochromatic
#45395A #625180 #806CA2 #A091BA #C1B7D1

Accessibility & contrast

On white

4.58
#806CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#806CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CA2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CA2#FFFFFF#000000##000000
##806CA21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#6375A0
Tritanopia (blue-blind)
#7A7480
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #806ca2;
/* rgb */ color: rgb(128, 108, 162);
/* oklch */ color: oklch(57.1% 0.084 300.8);
Tailwind
colors: {
  custom: {
    50: '#a596bd',
    500: '#806ca2',
    950: '#000000',
  },
}
SCSS
$custom: #806ca2;
$custom-light: #a596bd;
$custom-dark: #000000;
JSON
{
  "hex": "#806ca2",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 262.222,
    "s": 22.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.08432,
    "h": 300.8
  },
  "luminance": 0.17923
}

Semantic roles & 50–950 ramp

primary
#806CA2
secondary
#B8C1A9
accent
#BF699F
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #806CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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