#8078F2#8078F2

#8078F2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.9% C 0.177 H 283.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8078F2
RGBrgb(128, 120, 242)
HSLhsl(244, 82%, 71%)
HSVhsv(244, 50%, 95%)
CMYKcmyk(47.1%, 50.4%, 0%, 5.1%)
CIE-LABlab(56.52, 33.96, -60.58)
CIE-LCHlch(56.52, 69.45, 299.27°)
OKLaboklab(63.87% 0.0402 -0.1725)
OKLCHoklch(63.87% 0.177 283.1)
XYZxyz(31.6408, 24.4314, 87.0357)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078F2 #EAF278
analogous
#78ADF2 #8078F2 #BD78F2
triadic
#8078F2 #F28078 #78F280
tetradic
#8078F2 #F278AD #EAF278 #78F2BD
square
#8078F2 #F278AD #EAF278 #78F2BD
split-complementary
#8078F2 #F2BD78 #ADF278
monochromatic
#2215DB #4B40ED #8078F2 #B5B0F7 #E5E3FC

Accessibility & contrast

On white

3.57
#8078F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8078F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078F2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078F2#FFFFFF#000000##000000
##8078F21.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF6
Deuteranopia (green-blind)
#3784EF
Tritanopia (blue-blind)
#5892AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8078f2;
/* rgb */ color: rgb(128, 120, 242);
/* oklch */ color: oklch(63.9% 0.177 283.1);
Tailwind
colors: {
  custom: {
    50: '#ab9ff7',
    500: '#8078f2',
    950: '#000000',
  },
}
SCSS
$custom: #8078f2;
$custom-light: #ab9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8078f2",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 243.934,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63873,
    "c": 0.1771,
    "h": 283.1
  },
  "luminance": 0.24433
}

Semantic roles & 50–950 ramp

primary
#8078F2
secondary
#F1F3D3
accent
#DF07D1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8078F2

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

Preview Lab → · Contrast checker → · Palette generator →

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