#806BB2#806BB2

#806BB2 is a mid, moderate violet. Relative luminance 0.183; OKLCH L 57.7% C 0.109 H 296.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#806BB2
RGBrgb(128, 107, 178)
HSLhsl(258, 32%, 56%)
HSVhsv(258, 40%, 70%)
CMYKcmyk(28.1%, 39.9%, 0%, 30.2%)
CIE-LABlab(49.88, 23.93, -34.81)
CIE-LCHlch(49.88, 42.24, 304.50°)
OKLaboklab(57.74% 0.0484 -0.0972)
OKLCHoklch(57.74% 0.109 296.5)
XYZxyz(22.1937, 18.3187, 44.4774)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806BB2 #9DB26B
analogous
#6B79B2 #806BB2 #A36BB2
triadic
#806BB2 #B2806B #6BB280
tetradic
#806BB2 #B26B79 #9DB26B #6BB2A3
square
#806BB2 #B26B79 #9DB26B #6BB2A3
split-complementary
#806BB2 #B2A36B #79B26B
monochromatic
#47386B #614D93 #806BB2 #A393C7 #C5BCDC

Accessibility & contrast

On white

4.50
#806BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#806BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806BB2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806BB2#FFFFFF#000000##000000
##806BB21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#767786
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #806bb2;
/* rgb */ color: rgb(128, 107, 178);
/* oklch */ color: oklch(57.7% 0.109 296.5);
Tailwind
colors: {
  custom: {
    50: '#a695c9',
    500: '#806bb2',
    950: '#000000',
  },
}
SCSS
$custom: #806bb2;
$custom-light: #a695c9;
$custom-dark: #000000;
JSON
{
  "hex": "#806bb2",
  "rgb": {
    "r": 128,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 257.746,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.10854,
    "h": 296.5
  },
  "luminance": 0.18319
}

Semantic roles & 50–950 ramp

primary
#806BB2
secondary
#C2CBAE
accent
#C860A9
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #806BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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