#808CE7#808CE7

#808CE7 is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.0% C 0.135 H 276.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#808CE7
RGBrgb(128, 140, 231)
HSLhsl(233, 68%, 70%)
HSVhsv(233, 45%, 91%)
CMYKcmyk(44.6%, 39.4%, 0%, 9.4%)
CIE-LABlab(60.88, 18.97, -47.53)
CIE-LCHlch(60.88, 51.17, 291.76°)
OKLaboklab(66.99% 0.0151 -0.1341)
OKLCHoklch(66.99% 0.135 276.4)
XYZxyz(32.6996, 29.1132, 79.4822)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808CE7 #E7DB80
analogous
#80BFE7 #808CE7 #A880E7
triadic
#808CE7 #E7808C #8CE780
tetradic
#808CE7 #E780BF #E7DB80 #80E7A8
square
#808CE7 #E780BF #E7DB80 #80E7A8
split-complementary
#808CE7 #E7A880 #BFE780
monochromatic
#2638C7 #4D5DDD #808CE7 #B3BBF1 #E5E8FA

Accessibility & contrast

On white

3.08
#808CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#808CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808CE7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808CE7#FFFFFF#000000##000000
##808CE71.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EB
Deuteranopia (green-blind)
#628FE5
Tritanopia (blue-blind)
#5C9FAE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #808ce7;
/* rgb */ color: rgb(128, 140, 231);
/* oklch */ color: oklch(67.0% 0.135 276.4);
Tailwind
colors: {
  custom: {
    50: '#a9adef',
    500: '#808ce7',
    950: '#000000',
  },
}
SCSS
$custom: #808ce7;
$custom-light: #a9adef;
$custom-dark: #000000;
JSON
{
  "hex": "#808ce7",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 233.01,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66988,
    "c": 0.13496,
    "h": 276.4
  },
  "luminance": 0.29115
}

Semantic roles & 50–950 ramp

primary
#808CE7
secondary
#F0ECD3
accent
#BA15D0
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #808CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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