#8071EB#8071EB

#8071EB is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.2% C 0.177 H 285.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8071EB
RGBrgb(128, 113, 235)
HSLhsl(247, 75%, 68%)
HSVhsv(247, 52%, 92%)
CMYKcmyk(45.5%, 51.9%, 0%, 7.8%)
CIE-LABlab(54.45, 36.03, -60.01)
CIE-LCHlch(54.45, 69.99, 300.98°)
OKLaboklab(62.19% 0.0478 -0.1708)
OKLCHoklch(62.19% 0.177 285.6)
XYZxyz(29.7982, 22.3963, 81.3340)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071EB #DCEB71
analogous
#719FEB #8071EB #BD71EB
triadic
#8071EB #EB8071 #71EB80
tetradic
#8071EB #EB719F #DCEB71 #71EBBD
square
#8071EB #EB719F #DCEB71 #71EBBD
split-complementary
#8071EB #EBBD71 #9FEB71
monochromatic
#311CC6 #503BE3 #8071EB #B0A7F3 #E0DCFA

Accessibility & contrast

On white

3.83
#8071EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8071EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071EB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071EB#FFFFFF#000000##000000
##8071EB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#327FE8
Tritanopia (blue-blind)
#5D8BA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8071eb;
/* rgb */ color: rgb(128, 113, 235);
/* oklch */ color: oklch(62.2% 0.177 285.6);
Tailwind
colors: {
  custom: {
    50: '#ab9af2',
    500: '#8071eb',
    950: '#000000',
  },
}
SCSS
$custom: #8071eb;
$custom-light: #ab9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8071eb",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 247.377,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62188,
    "c": 0.17738,
    "h": 285.6
  },
  "luminance": 0.22398
}

Semantic roles & 50–950 ramp

primary
#8071EB
secondary
#EAEEC9
accent
#D70EBF
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8071EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8071EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva