#8071D3#8071D3

#8071D3 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.145 H 288.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8071D3
RGBrgb(128, 113, 211)
HSLhsl(249, 53%, 64%)
HSVhsv(249, 46%, 83%)
CMYKcmyk(39.3%, 46.4%, 0%, 17.3%)
CIE-LABlab(53.06, 29.22, -48.72)
CIE-LCHlch(53.06, 56.81, 300.96°)
OKLaboklab(60.7% 0.0456 -0.1377)
OKLCHoklch(60.7% 0.145 288.3)
XYZxyz(26.5618, 21.1018, 64.2889)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071D3 #C4D371
analogous
#7193D3 #8071D3 #B171D3
triadic
#8071D3 #D38071 #71D380
tetradic
#8071D3 #D37193 #C4D371 #71D3B1
square
#8071D3 #D37193 #C4D371 #71D3B1
split-complementary
#8071D3 #D3B171 #93D371
monochromatic
#40309A #5642C5 #8071D3 #AAA0E1 #D4CEF0

Accessibility & contrast

On white

4.02
#8071D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8071D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071D3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071D3#FFFFFF#000000##000000
##8071D31.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D7
Deuteranopia (green-blind)
#4C7CD1
Tritanopia (blue-blind)
#698598
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8071d3;
/* rgb */ color: rgb(128, 113, 211);
/* oklch */ color: oklch(60.7% 0.145 288.3);
Tailwind
colors: {
  custom: {
    50: '#a99ae1',
    500: '#8071d3',
    950: '#000000',
  },
}
SCSS
$custom: #8071d3;
$custom-light: #a99ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8071d3",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 249.184,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60703,
    "c": 0.14505,
    "h": 288.3
  },
  "luminance": 0.21103
}

Semantic roles & 50–950 ramp

primary
#8071D3
secondary
#DCE1BF
accent
#C025A8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8071D3

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

Preview Lab → · Contrast checker → · Palette generator →

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