#808AFA#808AFA

#808AFA is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.7% C 0.164 H 277.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#808AFA
RGBrgb(128, 138, 250)
HSLhsl(235, 92%, 74%)
HSVhsv(235, 49%, 98%)
CMYKcmyk(48.8%, 44.8%, 0%, 2%)
CIE-LABlab(61.37, 25.73, -57.25)
CIE-LCHlch(61.37, 62.76, 294.20°)
OKLaboklab(67.68% 0.0206 -0.1626)
OKLCHoklch(67.68% 0.164 277.2)
XYZxyz(35.2405, 29.6662, 94.2932)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808AFA #FAF080
analogous
#80C7FA #808AFA #B380FA
triadic
#808AFA #FA808A #8AFA80
tetradic
#808AFA #FA80C7 #FAF080 #80FAB3
square
#808AFA #FA80C7 #FAF080 #80FAB3
split-complementary
#808AFA #FAB380 #C7FA80
monochromatic
#0A1EF5 #4554F8 #808AFA #BBC0FC #E2E4FE

Accessibility & contrast

On white

3.03
#808AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#808AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808AFA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808AFA#FFFFFF#000000##000000
##808AFA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#508FF8
Tritanopia (blue-blind)
#50A2B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #808afa;
/* rgb */ color: rgb(128, 138, 250);
/* oklch */ color: oklch(67.7% 0.164 277.2);
Tailwind
colors: {
  custom: {
    50: '#abacfc',
    500: '#808afa',
    950: '#000000',
  },
}
SCSS
$custom: #808afa;
$custom-light: #abacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#808afa",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 235.082,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67679,
    "c": 0.16386,
    "h": 277.2
  },
  "luminance": 0.29668
}

Semantic roles & 50–950 ramp

primary
#808AFA
secondary
#F6F3D5
accent
#D300E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #808AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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