#8071F8#8071F8

#8071F8 is a light, vivid blue. Relative luminance 0.232; OKLCH L 63.0% C 0.194 H 284.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8071F8
RGBrgb(128, 113, 248)
HSLhsl(247, 91%, 71%)
HSVhsv(247, 54%, 97%)
CMYKcmyk(48.4%, 54.4%, 0%, 2.7%)
CIE-LABlab(55.25, 39.79, -65.95)
CIE-LCHlch(55.25, 77.02, 301.10°)
OKLaboklab(63.05% 0.0483 -0.1883)
OKLCHoklch(63.05% 0.194 284.4)
XYZxyz(31.7454, 23.1752, 91.5893)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071F8 #E9F871
analogous
#71A5F8 #8071F8 #C471F8
triadic
#8071F8 #F88071 #71F880
tetradic
#8071F8 #F871A5 #E9F871 #71F8C4
square
#8071F8 #F871A5 #E9F871 #71F8C4
split-complementary
#8071F8 #F8C471 #A5F871
monochromatic
#230BE3 #4C37F5 #8071F8 #B4ABFB #E5E2FE

Accessibility & contrast

On white

3.73
#8071F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8071F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071F8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071F8#FFFFFF#000000##000000
##8071F81.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2088FD
Deuteranopia (green-blind)
#1580F5
Tritanopia (blue-blind)
#558FAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8071f8;
/* rgb */ color: rgb(128, 113, 248);
/* oklch */ color: oklch(63.0% 0.194 284.4);
Tailwind
colors: {
  custom: {
    50: '#ac9afb',
    500: '#8071f8',
    950: '#000000',
  },
}
SCSS
$custom: #8071f8;
$custom-light: #ac9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8071f8",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 246.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63047,
    "c": 0.19437,
    "h": 284.4
  },
  "luminance": 0.23177
}

Semantic roles & 50–950 ramp

primary
#8071F8
secondary
#F1F5D0
accent
#E600CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8071F8

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

Preview Lab → · Contrast checker → · Palette generator →

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