#8071DC#8071DC

#8071DC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.2% C 0.157 H 287.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8071DC
RGBrgb(128, 113, 220)
HSLhsl(248, 60%, 65%)
HSVhsv(248, 49%, 86%)
CMYKcmyk(41.8%, 48.6%, 0%, 13.7%)
CIE-LABlab(53.56, 31.75, -53.00)
CIE-LCHlch(53.56, 61.78, 300.92°)
OKLaboklab(61.24% 0.0466 -0.1502)
OKLCHoklch(61.24% 0.157 287.2)
XYZxyz(27.7218, 21.5658, 70.3982)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071DC #CDDC71
analogous
#7198DC #8071DC #B571DC
triadic
#8071DC #DC8071 #71DC80
tetradic
#8071DC #DC7198 #CDDC71 #71DCB5
square
#8071DC #DC7198 #CDDC71 #71DCB5
split-complementary
#8071DC #DCB571 #98DC71
monochromatic
#3B2AA9 #5440D0 #8071DC #ACA2E8 #D8D3F4

Accessibility & contrast

On white

3.95
#8071DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8071DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071DC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071DC#FFFFFF#000000##000000
##8071DC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E0
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#65879C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8071dc;
/* rgb */ color: rgb(128, 113, 220);
/* oklch */ color: oklch(61.2% 0.157 287.2);
Tailwind
colors: {
  custom: {
    50: '#a99ae7',
    500: '#8071dc',
    950: '#000000',
  },
}
SCSS
$custom: #8071dc;
$custom-light: #a99ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8071dc",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 248.411,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.15731,
    "h": 287.2
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#8071DC
secondary
#E1E6C2
accent
#C81DB0
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8071DC

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

Preview Lab → · Contrast checker → · Palette generator →

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