#8070F5#8070F5

#8070F5 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.7% C 0.192 H 284.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8070F5
RGBrgb(128, 112, 245)
HSLhsl(247, 87%, 70%)
HSVhsv(247, 54%, 96%)
CMYKcmyk(47.8%, 54.3%, 0%, 3.9%)
CIE-LABlab(54.83, 39.50, -64.96)
CIE-LCHlch(54.83, 76.02, 301.30°)
OKLaboklab(62.68% 0.0493 -0.1854)
OKLCHoklch(62.68% 0.192 284.9)
XYZxyz(31.1728, 22.7686, 89.1207)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8070F5 #E5F570
analogous
#70A3F5 #8070F5 #C270F5
triadic
#8070F5 #F58070 #70F580
tetradic
#8070F5 #F570A3 #E5F570 #70F5C2
square
#8070F5 #F570A3 #E5F570 #70F5C2
split-complementary
#8070F5 #F5C270 #A3F570
monochromatic
#280FDB #4D37F1 #8070F5 #B3A9F9 #E6E2FD

Accessibility & contrast

On white

3.78
#8070F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8070F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8070F5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8070F5#FFFFFF#000000##000000
##8070F51.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2287FA
Deuteranopia (green-blind)
#1A7FF2
Tritanopia (blue-blind)
#578EA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8070f5;
/* rgb */ color: rgb(128, 112, 245);
/* oklch */ color: oklch(62.7% 0.192 284.9);
Tailwind
colors: {
  custom: {
    50: '#ac99f9',
    500: '#8070f5',
    950: '#000000',
  },
}
SCSS
$custom: #8070f5;
$custom-light: #ac99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8070f5",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 247.218,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.62675,
    "c": 0.19181,
    "h": 284.9
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#8070F5
secondary
#EFF3CE
accent
#E302C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8070F5

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

Preview Lab → · Contrast checker → · Palette generator →

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