#806CB2#806CB2

#806CB2 is a mid, moderate violet. Relative luminance 0.185; OKLCH L 57.9% C 0.107 H 296.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#806CB2
RGBrgb(128, 108, 178)
HSLhsl(257, 31%, 56%)
HSVhsv(257, 39%, 70%)
CMYKcmyk(28.1%, 39.3%, 0%, 30.2%)
CIE-LABlab(50.13, 23.33, -34.42)
CIE-LCHlch(50.13, 41.58, 304.13°)
OKLaboklab(57.93% 0.0469 -0.096)
OKLCHoklch(57.93% 0.107 296)
XYZxyz(22.2986, 18.5284, 44.5124)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CB2 #9EB26C
analogous
#6C7BB2 #806CB2 #A36CB2
triadic
#806CB2 #B2806C #6CB280
tetradic
#806CB2 #B26C7B #9EB26C #6CB2A3
square
#806CB2 #B26C7B #9EB26C #6CB2A3
split-complementary
#806CB2 #B2A36C #7BB26C
monochromatic
#47386B #614D94 #806CB2 #A394C7 #C5BCDC

Accessibility & contrast

On white

4.46
#806CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#806CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CB2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CB2#FFFFFF#000000##000000
##806CB21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#767886
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #806cb2;
/* rgb */ color: rgb(128, 108, 178);
/* oklch */ color: oklch(57.9% 0.107 296.0);
Tailwind
colors: {
  custom: {
    50: '#a696c9',
    500: '#806cb2',
    950: '#000000',
  },
}
SCSS
$custom: #806cb2;
$custom-light: #a696c9;
$custom-dark: #000000;
JSON
{
  "hex": "#806cb2",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 257.143,
    "s": 31.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57934,
    "c": 0.10689,
    "h": 296
  },
  "luminance": 0.18529
}

Semantic roles & 50–950 ramp

primary
#806CB2
secondary
#C3CBAE
accent
#C760AA
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #806CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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