#8078F8#8078F8

#8078F8 is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.3% C 0.185 H 282.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8078F8
RGBrgb(128, 120, 248)
HSLhsl(244, 90%, 72%)
HSVhsv(244, 52%, 97%)
CMYKcmyk(48.4%, 51.6%, 0%, 2.7%)
CIE-LABlab(56.88, 35.71, -63.33)
CIE-LCHlch(56.88, 72.70, 299.42°)
OKLaboklab(64.26% 0.0406 -0.1805)
OKLCHoklch(64.26% 0.185 282.7)
XYZxyz(32.5567, 24.7978, 91.8597)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078F8 #F0F878
analogous
#78B0F8 #8078F8 #C078F8
triadic
#8078F8 #F88078 #78F880
tetradic
#8078F8 #F878B0 #F0F878 #78F8C0
square
#8078F8 #F878B0 #F0F878 #78F8C0
split-complementary
#8078F8 #F8C078 #B0F878
monochromatic
#1A0CE9 #493EF5 #8078F8 #B7B2FB #E4E2FD

Accessibility & contrast

On white

3.52
#8078F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8078F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078F8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078F8#FFFFFF#000000##000000
##8078F81.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFC
Deuteranopia (green-blind)
#2E84F5
Tritanopia (blue-blind)
#5494AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8078f8;
/* rgb */ color: rgb(128, 120, 248);
/* oklch */ color: oklch(64.3% 0.185 282.7);
Tailwind
colors: {
  custom: {
    50: '#ac9ffb',
    500: '#8078f8',
    950: '#000000',
  },
}
SCSS
$custom: #8078f8;
$custom-light: #ac9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#8078f8",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 243.75,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64258,
    "c": 0.18505,
    "h": 282.7
  },
  "luminance": 0.24799
}

Semantic roles & 50–950 ramp

primary
#8078F8
secondary
#F4F6D5
accent
#E600D7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8078F8

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

Preview Lab → · Contrast checker → · Palette generator →

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