#808EFA#808EFA

#808EFA is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.159 H 275.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#808EFA
RGBrgb(128, 142, 250)
HSLhsl(233, 92%, 74%)
HSVhsv(233, 49%, 98%)
CMYKcmyk(48.8%, 43.2%, 0%, 2%)
CIE-LABlab(62.37, 23.38, -55.65)
CIE-LCHlch(62.37, 60.36, 292.79°)
OKLaboklab(68.44% 0.0161 -0.1578)
OKLCHoklch(68.44% 0.159 275.8)
XYZxyz(35.8250, 30.8352, 94.4880)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808EFA #FAEC80
analogous
#80CBFA #808EFA #AF80FA
triadic
#808EFA #FA808E #8EFA80
tetradic
#808EFA #FA80CB #FAEC80 #80FAAF
square
#808EFA #FA80CB #FAEC80 #80FAAF
split-complementary
#808EFA #FAAF80 #CBFA80
monochromatic
#0A25F5 #455AF8 #808EFA #BBC2FC #E2E5FE

Accessibility & contrast

On white

2.93
#808EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#808EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #808EFA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808EFA#FFFFFF#000000##000000
##808EFA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#50A5B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #808efa;
/* rgb */ color: rgb(128, 142, 250);
/* oklch */ color: oklch(68.4% 0.159 275.8);
Tailwind
colors: {
  custom: {
    50: '#abaefc',
    500: '#808efa',
    950: '#000000',
  },
}
SCSS
$custom: #808efa;
$custom-light: #abaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#808efa",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 233.115,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68443,
    "c": 0.15866,
    "h": 275.8
  },
  "luminance": 0.30837
}

Semantic roles & 50–950 ramp

primary
#808EFA
secondary
#F6F2D5
accent
#CB00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #808EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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