#8070F8#8070F8

#8070F8 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.9% C 0.196 H 284.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8070F8
RGBrgb(128, 112, 248)
HSLhsl(247, 91%, 71%)
HSVhsv(247, 55%, 97%)
CMYKcmyk(48.4%, 54.8%, 0%, 2.7%)
CIE-LABlab(55.02, 40.37, -66.31)
CIE-LCHlch(55.02, 77.63, 301.33°)
OKLaboklab(62.88% 0.0494 -0.1894)
OKLCHoklch(62.88% 0.196 284.6)
XYZxyz(31.6345, 22.9533, 91.5523)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8070F8 #E8F870
analogous
#70A4F8 #8070F8 #C470F8
triadic
#8070F8 #F88070 #70F880
tetradic
#8070F8 #F870A4 #E8F870 #70F8C4
square
#8070F8 #F870A4 #E8F870 #70F8C4
split-complementary
#8070F8 #F8C470 #A4F870
monochromatic
#240BE3 #4C36F5 #8070F8 #B4AAFB #E5E2FE

Accessibility & contrast

On white

3.76
#8070F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8070F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8070F8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8070F8#FFFFFF#000000##000000
##8070F81.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B88FD
Deuteranopia (green-blind)
#0F7FF5
Tritanopia (blue-blind)
#558EA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8070f8;
/* rgb */ color: rgb(128, 112, 248);
/* oklch */ color: oklch(62.9% 0.196 284.6);
Tailwind
colors: {
  custom: {
    50: '#ac99fb',
    500: '#8070f8',
    950: '#000000',
  },
}
SCSS
$custom: #8070f8;
$custom-light: #ac99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8070f8",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 247.059,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62878,
    "c": 0.19569,
    "h": 284.6
  },
  "luminance": 0.22955
}

Semantic roles & 50–950 ramp

primary
#8070F8
secondary
#F0F4CF
accent
#E600CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8070F8

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

Preview Lab → · Contrast checker → · Palette generator →

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