#806FCB#806FCB

#806FCB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 59.9% C 0.137 H 290.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#806FCB
RGBrgb(128, 111, 203)
HSLhsl(251, 47%, 62%)
HSVhsv(251, 45%, 80%)
CMYKcmyk(36.9%, 45.3%, 0%, 20.4%)
CIE-LABlab(52.14, 28.19, -45.63)
CIE-LCHlch(52.14, 53.64, 301.71°)
OKLaboklab(59.87% 0.0471 -0.1287)
OKLCHoklch(59.87% 0.137 290.1)
XYZxyz(25.3631, 20.2692, 59.0644)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806FCB #BACB6F
analogous
#6F8CCB #806FCB #AE6FCB
triadic
#806FCB #CB806F #6FCB80
tetradic
#806FCB #CB6F8C #BACB6F #6FCBAE
square
#806FCB #CB6F8C #BACB6F #6FCBAE
split-complementary
#806FCB #CBAE6F #8CCB6F
monochromatic
#43338D #5943BA #806FCB #A89CDB #CFC9EB

Accessibility & contrast

On white

4.16
#806FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#806FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806FCB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806FCB#FFFFFF#000000##000000
##806FCB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECE
Deuteranopia (green-blind)
#507AC9
Tritanopia (blue-blind)
#6D8193
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #806fcb;
/* rgb */ color: rgb(128, 111, 203);
/* oklch */ color: oklch(59.9% 0.137 290.1);
Tailwind
colors: {
  custom: {
    50: '#a898db',
    500: '#806fcb',
    950: '#000000',
  },
}
SCSS
$custom: #806fcb;
$custom-light: #a898db;
$custom-dark: #000000;
JSON
{
  "hex": "#806fcb",
  "rgb": {
    "r": 128,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 251.087,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.13702,
    "h": 290.1
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#806FCB
secondary
#D6DCBA
accent
#BA2BA0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #806FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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