#806CF2#806CF2

#806CF2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.8% C 0.193 H 286.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#806CF2
RGBrgb(128, 108, 242)
HSLhsl(249, 84%, 69%)
HSVhsv(249, 55%, 95%)
CMYKcmyk(47.1%, 55.4%, 0%, 5.1%)
CIE-LABlab(53.73, 40.94, -65.06)
CIE-LCHlch(53.73, 76.87, 302.18°)
OKLaboklab(61.8% 0.0536 -0.1857)
OKLCHoklch(61.8% 0.193 286.1)
XYZxyz(30.2870, 21.7238, 86.5844)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#806CF2 #DEF26C
analogous
#6C9BF2 #806CF2 #C36CF2
triadic
#806CF2 #F2806C #6CF280
tetradic
#806CF2 #F26C9B #DEF26C #6CF2C3
square
#806CF2 #F26C9B #DEF26C #6CF2C3
split-complementary
#806CF2 #F2C36C #9BF26C
monochromatic
#2F12D1 #4F34ED #806CF2 #B1A4F7 #E1DCFC

Accessibility & contrast

On white

3.93
#806CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#806CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #806CF2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##806CF2#FFFFFF#000000##000000
##806CF21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1784F7
Deuteranopia (green-blind)
#127DEF
Tritanopia (blue-blind)
#598AA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #806cf2;
/* rgb */ color: rgb(128, 108, 242);
/* oklch */ color: oklch(61.8% 0.193 286.1);
Tailwind
colors: {
  custom: {
    50: '#ac96f7',
    500: '#806cf2',
    950: '#000000',
  },
}
SCSS
$custom: #806cf2;
$custom-light: #ac96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#806cf2",
  "rgb": {
    "r": 128,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 248.955,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.19329,
    "h": 286.1
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#806CF2
secondary
#EBF1C9
accent
#E005C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #806CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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