#808EFE#808EFE

#808EFE is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.7% C 0.164 H 275.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#808EFE
RGBrgb(128, 142, 254)
HSLhsl(233, 98%, 75%)
HSVhsv(233, 50%, 100%)
CMYKcmyk(49.6%, 44.1%, 0%, 0.4%)
CIE-LABlab(62.58, 24.58, -57.50)
CIE-LCHlch(62.58, 62.53, 293.14°)
OKLaboklab(68.68% 0.0167 -0.1633)
OKLCHoklch(68.68% 0.164 275.8)
XYZxyz(36.4589, 31.0888, 97.8263)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808EFE #FEF080
analogous
#80CDFE #808EFE #B180FE
triadic
#808EFE #FE808E #8EFE80
tetradic
#808EFE #FE80CD #FEF080 #80FEB1
square
#808EFE #FE80CD #FEF080 #80FEB1
split-complementary
#808EFE #FEB180 #CDFE80
monochromatic
#0722FD #4358FE #808EFE #BDC4FE #E1E4FF

Accessibility & contrast

On white

2.91
#808EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#808EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #808EFE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808EFE#FFFFFF#000000##000000
##808EFE1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#5392FC
Tritanopia (blue-blind)
#4CA6BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #808efe;
/* rgb */ color: rgb(128, 142, 254);
/* oklch */ color: oklch(68.7% 0.164 275.8);
Tailwind
colors: {
  custom: {
    50: '#acaeff',
    500: '#808efe',
    950: '#000000',
  },
}
SCSS
$custom: #808efe;
$custom-light: #acaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#808efe",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 233.333,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68675,
    "c": 0.16413,
    "h": 275.8
  },
  "luminance": 0.31091
}

Semantic roles & 50–950 ramp

primary
#808EFE
secondary
#F7F3D4
accent
#CC00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #808EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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