#8078F9#8078F9

#8078F9 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.3% C 0.186 H 282.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8078F9
RGBrgb(128, 120, 249)
HSLhsl(244, 91%, 72%)
HSVhsv(244, 52%, 98%)
CMYKcmyk(48.6%, 51.8%, 0%, 2.4%)
CIE-LABlab(56.94, 36.01, -63.78)
CIE-LCHlch(56.94, 73.25, 299.44°)
OKLaboklab(64.32% 0.0407 -0.1819)
OKLCHoklch(64.32% 0.186 282.6)
XYZxyz(32.7123, 24.8600, 92.6789)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078F9 #F1F978
analogous
#78B1F9 #8078F9 #C178F9
triadic
#8078F9 #F98078 #78F980
tetradic
#8078F9 #F978B1 #F1F978 #78F9C1
square
#8078F9 #F978B1 #F1F978 #78F9C1
split-complementary
#8078F9 #F9C178 #B1F978
monochromatic
#180AEC #493DF6 #8078F9 #B7B3FC #E3E2FE

Accessibility & contrast

On white

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

On black

5.97
#8078F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078F9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078F9#FFFFFF#000000##000000
##8078F91.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFE
Deuteranopia (green-blind)
#2C84F6
Tritanopia (blue-blind)
#5394AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8078f9;
/* rgb */ color: rgb(128, 120, 249);
/* oklch */ color: oklch(64.3% 0.186 282.6);
Tailwind
colors: {
  custom: {
    50: '#ac9ffc',
    500: '#8078f9',
    950: '#000000',
  },
}
SCSS
$custom: #8078f9;
$custom-light: #ac9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#8078f9",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 243.721,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64324,
    "c": 0.18637,
    "h": 282.6
  },
  "luminance": 0.24862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8078F9

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

Preview Lab → · Contrast checker → · Palette generator →

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