#8070F7#8070F7

#8070F7 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.8% C 0.194 H 284.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8070F7
RGBrgb(128, 112, 247)
HSLhsl(247, 89%, 70%)
HSVhsv(247, 55%, 97%)
CMYKcmyk(48.2%, 54.7%, 0%, 3.1%)
CIE-LABlab(54.96, 40.08, -65.86)
CIE-LCHlch(54.96, 77.10, 301.32°)
OKLaboklab(62.81% 0.0493 -0.188)
OKLCHoklch(62.81% 0.194 284.7)
XYZxyz(31.4798, 22.8914, 90.7374)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8070F7 #E7F770
analogous
#70A3F7 #8070F7 #C370F7
triadic
#8070F7 #F78070 #70F780
tetradic
#8070F7 #F770A3 #E7F770 #70F7C3
square
#8070F7 #F770A3 #E7F770 #70F7C3
split-complementary
#8070F7 #F7C370 #A3F770
monochromatic
#260DE0 #4D36F4 #8070F7 #B3AAFA #E5E2FD

Accessibility & contrast

On white

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

On black

5.58
#8070F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8070F7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8070F7#FFFFFF#000000##000000
##8070F71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FC
Deuteranopia (green-blind)
#137FF4
Tritanopia (blue-blind)
#568EA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8070f7;
/* rgb */ color: rgb(128, 112, 247);
/* oklch */ color: oklch(62.8% 0.194 284.7);
Tailwind
colors: {
  custom: {
    50: '#ac99fb',
    500: '#8070f7',
    950: '#000000',
  },
}
SCSS
$custom: #8070f7;
$custom-light: #ac99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8070f7",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 247.111,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6281,
    "c": 0.19441,
    "h": 284.7
  },
  "luminance": 0.22893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8070F7

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

Preview Lab → · Contrast checker → · Palette generator →

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