#808AF7#808AF7

#808AF7 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.5% C 0.160 H 277.3°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#808AF7
RGBrgb(128, 138, 247)
HSLhsl(235, 88%, 74%)
HSVhsv(235, 48%, 97%)
CMYKcmyk(48.2%, 44.1%, 0%, 3.1%)
CIE-LABlab(61.20, 24.84, -55.86)
CIE-LCHlch(61.20, 61.13, 293.97°)
OKLaboklab(67.5% 0.0202 -0.1585)
OKLCHoklch(67.5% 0.16 277.3)
XYZxyz(34.7739, 29.4796, 91.8354)
Luminance0.2948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808AF7 #F7ED80
analogous
#80C5F7 #808AF7 #B180F7
triadic
#808AF7 #F7808A #8AF780
tetradic
#808AF7 #F780C5 #F7ED80 #80F7B1
square
#808AF7 #F780C5 #F7ED80 #80F7B1
split-complementary
#808AF7 #F7B180 #C5F780
monochromatic
#0F22EE #4655F3 #808AF7 #BABFFB #E2E4FD

Accessibility & contrast

On white

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

On black

6.90
#808AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808AF7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808AF7#FFFFFF#000000##000000
##808AF71.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#538FF5
Tritanopia (blue-blind)
#52A1B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #808af7;
/* rgb */ color: rgb(128, 138, 247);
/* oklch */ color: oklch(67.5% 0.160 277.3);
Tailwind
colors: {
  custom: {
    50: '#abacfa',
    500: '#808af7',
    950: '#000000',
  },
}
SCSS
$custom: #808af7;
$custom-light: #abacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#808af7",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 234.958,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67503,
    "c": 0.15977,
    "h": 277.3
  },
  "luminance": 0.29482
}

Semantic roles & 50–950 ramp

primary
#808AF7
secondary
#F5F3D6
accent
#D201E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #808AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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