#8078FA#8078FA

#8078FA is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.4% C 0.188 H 282.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8078FA
RGBrgb(128, 120, 250)
HSLhsl(244, 93%, 73%)
HSVhsv(244, 52%, 98%)
CMYKcmyk(48.8%, 52%, 0%, 2%)
CIE-LABlab(57.00, 36.30, -64.24)
CIE-LCHlch(57.00, 73.79, 299.47°)
OKLaboklab(64.39% 0.0407 -0.1832)
OKLCHoklch(64.39% 0.188 282.5)
XYZxyz(32.8687, 24.9225, 93.5026)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078FA #F2FA78
analogous
#78B1FA #8078FA #C178FA
triadic
#8078FA #FA8078 #78FA80
tetradic
#8078FA #FA78B1 #F2FA78 #78FAC1
square
#8078FA #FA78B1 #F2FA78 #78FAC1
split-complementary
#8078FA #FAC178 #B1FA78
monochromatic
#1709EF #483DF8 #8078FA #B8B3FC #E3E1FE

Accessibility & contrast

On white

3.51
#8078FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8078FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078FA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078FA#FFFFFF#000000##000000
##8078FA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFF
Deuteranopia (green-blind)
#2A84F7
Tritanopia (blue-blind)
#5395AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8078fa;
/* rgb */ color: rgb(128, 120, 250);
/* oklch */ color: oklch(64.4% 0.188 282.5);
Tailwind
colors: {
  custom: {
    50: '#ac9ffd',
    500: '#8078fa',
    950: '#000000',
  },
}
SCSS
$custom: #8078fa;
$custom-light: #ac9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8078fa",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 243.692,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64389,
    "c": 0.18769,
    "h": 282.5
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

primary
#8078FA
secondary
#F4F6D5
accent
#E600D7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8078FA

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

Preview Lab → · Contrast checker → · Palette generator →

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