#808AF6#808AF6

#808AF6 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.4% C 0.158 H 277.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#808AF6
RGBrgb(128, 138, 246)
HSLhsl(235, 87%, 73%)
HSVhsv(235, 48%, 96%)
CMYKcmyk(48%, 43.9%, 0%, 3.5%)
CIE-LABlab(61.15, 24.54, -55.39)
CIE-LCHlch(61.15, 60.59, 293.90°)
OKLaboklab(67.44% 0.02 -0.1571)
OKLCHoklch(67.44% 0.158 277.3)
XYZxyz(34.6200, 29.4180, 91.0249)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808AF6 #F6EC80
analogous
#80C5F6 #808AF6 #B180F6
triadic
#808AF6 #F6808A #8AF680
tetradic
#808AF6 #F680C5 #F6EC80 #80F6B1
square
#808AF6 #F680C5 #F6EC80 #80F6B1
split-complementary
#808AF6 #F6B180 #C5F680
monochromatic
#1123EB #4755F2 #808AF6 #B9BFFA #E2E5FD

Accessibility & contrast

On white

3.05
#808AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#808AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808AF6
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808AF6#FFFFFF#000000##000000
##808AF61.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98FA
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#53A1B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #808af6;
/* rgb */ color: rgb(128, 138, 246);
/* oklch */ color: oklch(67.4% 0.158 277.3);
Tailwind
colors: {
  custom: {
    50: '#abacfa',
    500: '#808af6',
    950: '#000000',
  },
}
SCSS
$custom: #808af6;
$custom-light: #abacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#808af6",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 234.915,
    "s": 86.765,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67444,
    "c": 0.15839,
    "h": 277.3
  },
  "luminance": 0.2942
}

Semantic roles & 50–950 ramp

primary
#808AF6
secondary
#F5F2D6
accent
#D002E3
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #808AF6

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

Preview Lab → · Contrast checker → · Palette generator →

#808AF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva