#8078EB#8078EB

#8078EB is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.4% C 0.168 H 283.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8078EB
RGBrgb(128, 120, 235)
HSLhsl(244, 74%, 70%)
HSVhsv(244, 49%, 92%)
CMYKcmyk(45.5%, 48.9%, 0%, 7.8%)
CIE-LABlab(56.11, 31.92, -57.35)
CIE-LCHlch(56.11, 65.63, 299.10°)
OKLaboklab(63.43% 0.0396 -0.163)
OKLCHoklch(63.43% 0.168 283.7)
XYZxyz(30.6095, 24.0189, 81.6044)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078EB #E3EB78
analogous
#78AAEB #8078EB #BA78EB
triadic
#8078EB #EB8078 #78EB80
tetradic
#8078EB #EB78AA #E3EB78 #78EBBA
square
#8078EB #EB78AA #E3EB78 #78EBBA
split-complementary
#8078EB #EBBA78 #AAEB78
monochromatic
#2A1ECB #4E43E3 #8078EB #B2ADF3 #E4E3FB

Accessibility & contrast

On white

3.62
#8078EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8078EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078EB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078EB#FFFFFF#000000##000000
##8078EB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#4083E8
Tritanopia (blue-blind)
#5C90A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8078eb;
/* rgb */ color: rgb(128, 120, 235);
/* oklch */ color: oklch(63.4% 0.168 283.7);
Tailwind
colors: {
  custom: {
    50: '#ab9ff2',
    500: '#8078eb',
    950: '#000000',
  },
}
SCSS
$custom: #8078eb;
$custom-light: #ab9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8078eb",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 244.174,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63432,
    "c": 0.16772,
    "h": 283.7
  },
  "luminance": 0.2402
}

Semantic roles & 50–950 ramp

primary
#8078EB
secondary
#EEF0CF
accent
#D60FC8
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #8078EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8078EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva