#808CF5#808CF5

#808CF5 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.8% C 0.154 H 276.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#808CF5
RGBrgb(128, 140, 245)
HSLhsl(234, 85%, 73%)
HSVhsv(234, 48%, 96%)
CMYKcmyk(47.8%, 42.9%, 0%, 3.9%)
CIE-LABlab(61.60, 23.07, -54.12)
CIE-LCHlch(61.60, 58.84, 293.09°)
OKLaboklab(67.77% 0.0176 -0.1534)
OKLCHoklch(67.77% 0.154 276.5)
XYZxyz(34.7565, 29.9360, 90.3153)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808CF5 #F5E980
analogous
#80C6F5 #808CF5 #AE80F5
triadic
#808CF5 #F5808C #8CF580
tetradic
#808CF5 #F580C6 #F5E980 #80F5AE
square
#808CF5 #F580C6 #F5E980 #80F5AE
split-complementary
#808CF5 #F5AE80 #C6F580
monochromatic
#1228E8 #4759F1 #808CF5 #B9BFF9 #E3E5FD

Accessibility & contrast

On white

3.01
#808CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#808CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808CF5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808CF5#FFFFFF#000000##000000
##808CF51.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#5890F3
Tritanopia (blue-blind)
#54A2B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #808cf5;
/* rgb */ color: rgb(128, 140, 245);
/* oklch */ color: oklch(67.8% 0.154 276.5);
Tailwind
colors: {
  custom: {
    50: '#abadf9',
    500: '#808cf5',
    950: '#000000',
  },
}
SCSS
$custom: #808cf5;
$custom-light: #abadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#808cf5",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 233.846,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6777,
    "c": 0.1544,
    "h": 276.5
  },
  "luminance": 0.29938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #808CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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