#8071D2#8071D2

#8071D2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.6% C 0.144 H 288.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8071D2
RGBrgb(128, 113, 210)
HSLhsl(249, 52%, 63%)
HSVhsv(249, 46%, 82%)
CMYKcmyk(39%, 46.2%, 0%, 17.6%)
CIE-LABlab(53.01, 28.94, -48.24)
CIE-LCHlch(53.01, 56.25, 300.96°)
OKLaboklab(60.64% 0.0455 -0.1363)
OKLCHoklch(60.64% 0.144 288.5)
XYZxyz(26.4369, 21.0518, 63.6308)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071D2 #C3D271
analogous
#7192D2 #8071D2 #B071D2
triadic
#8071D2 #D28071 #71D280
tetradic
#8071D2 #D27192 #C3D271 #71D2B0
square
#8071D2 #D27192 #C3D271 #71D2B0
split-complementary
#8071D2 #D2B071 #92D271
monochromatic
#403098 #5643C3 #8071D2 #AA9FE1 #D3CEEF

Accessibility & contrast

On white

4.03
#8071D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8071D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071D2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071D2#FFFFFF#000000##000000
##8071D21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D6
Deuteranopia (green-blind)
#4D7CD0
Tritanopia (blue-blind)
#6A8497
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8071d2;
/* rgb */ color: rgb(128, 113, 210);
/* oklch */ color: oklch(60.6% 0.144 288.5);
Tailwind
colors: {
  custom: {
    50: '#a89ae0',
    500: '#8071d2',
    950: '#000000',
  },
}
SCSS
$custom: #8071d2;
$custom-light: #a89ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#8071d2",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 249.278,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.14367,
    "h": 288.5
  },
  "luminance": 0.21053
}

Semantic roles & 50–950 ramp

primary
#8071D2
secondary
#DBE1BE
accent
#BF26A8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8071D2

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

Preview Lab → · Contrast checker → · Palette generator →

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