#8078FB#8078FB

#8078FB is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.5% C 0.189 H 282.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8078FB
RGBrgb(128, 120, 251)
HSLhsl(244, 94%, 73%)
HSVhsv(244, 52%, 98%)
CMYKcmyk(49%, 52.2%, 0%, 1.6%)
CIE-LABlab(57.06, 36.59, -64.69)
CIE-LCHlch(57.06, 74.33, 299.50°)
OKLaboklab(64.45% 0.0408 -0.1845)
OKLCHoklch(64.45% 0.189 282.5)
XYZxyz(33.0259, 24.9854, 94.3305)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078FB #F3FB78
analogous
#78B1FB #8078FB #C178FB
triadic
#8078FB #FB8078 #78FB80
tetradic
#8078FB #FB78B1 #F3FB78 #78FBC1
square
#8078FB #FB78B1 #F3FB78 #78FBC1
split-complementary
#8078FB #FBC178 #B1FB78
monochromatic
#1507F1 #483DF9 #8078FB #B8B3FD #E3E1FE

Accessibility & contrast

On white

3.50
#8078FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8078FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078FB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078FB#FFFFFF#000000##000000
##8078FB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#2884F8
Tritanopia (blue-blind)
#5295AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8078fb;
/* rgb */ color: rgb(128, 120, 251);
/* oklch */ color: oklch(64.5% 0.189 282.5);
Tailwind
colors: {
  custom: {
    50: '#ac9ffd',
    500: '#8078fb',
    950: '#000000',
  },
}
SCSS
$custom: #8078fb;
$custom-light: #ac9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8078fb",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 243.664,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64454,
    "c": 0.189,
    "h": 282.5
  },
  "luminance": 0.24987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8078FB

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

Preview Lab → · Contrast checker → · Palette generator →

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