#8071F2#8071F2

#8071F2 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.6% C 0.187 H 284.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8071F2
RGBrgb(128, 113, 242)
HSLhsl(247, 83%, 70%)
HSVhsv(247, 53%, 95%)
CMYKcmyk(47.1%, 53.3%, 0%, 5.1%)
CIE-LABlab(54.87, 38.05, -63.22)
CIE-LCHlch(54.87, 73.79, 301.04°)
OKLaboklab(62.65% 0.0481 -0.1803)
OKLCHoklch(62.65% 0.187 284.9)
XYZxyz(30.8295, 22.8088, 86.7653)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071F2 #E3F271
analogous
#71A2F2 #8071F2 #C171F2
triadic
#8071F2 #F28071 #71F280
tetradic
#8071F2 #F271A2 #E3F271 #71F2C1
square
#8071F2 #F271A2 #E3F271 #71F2C1
split-complementary
#8071F2 #F2C171 #A2F271
monochromatic
#2A14D5 #4E39ED #8071F2 #B2A9F7 #E4E1FC

Accessibility & contrast

On white

3.78
#8071F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8071F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071F2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071F2#FFFFFF#000000##000000
##8071F21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F6
Deuteranopia (green-blind)
#267FEF
Tritanopia (blue-blind)
#598DA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8071f2;
/* rgb */ color: rgb(128, 113, 242);
/* oklch */ color: oklch(62.6% 0.187 284.9);
Tailwind
colors: {
  custom: {
    50: '#ac9af7',
    500: '#8071f2',
    950: '#000000',
  },
}
SCSS
$custom: #8071f2;
$custom-light: #ac9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8071f2",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 246.977,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62646,
    "c": 0.18658,
    "h": 284.9
  },
  "luminance": 0.2281
}

Semantic roles & 50–950 ramp

primary
#8071F2
secondary
#EEF2CD
accent
#E006C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8071F2

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

Preview Lab → · Contrast checker → · Palette generator →

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