#8071DB#8071DB

#8071DB is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.2% C 0.156 H 287.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8071DB
RGBrgb(128, 113, 219)
HSLhsl(248, 60%, 65%)
HSVhsv(248, 48%, 86%)
CMYKcmyk(41.6%, 48.4%, 0%, 14.1%)
CIE-LABlab(53.51, 31.46, -52.53)
CIE-LCHlch(53.51, 61.23, 300.92°)
OKLaboklab(61.18% 0.0465 -0.1489)
OKLCHoklch(61.18% 0.156 287.4)
XYZxyz(27.5898, 21.5129, 69.7028)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8071DB #CCDB71
analogous
#7197DB #8071DB #B571DB
triadic
#8071DB #DB8071 #71DB80
tetradic
#8071DB #DB7197 #CCDB71 #71DBB5
square
#8071DB #DB7197 #CCDB71 #71DBB5
split-complementary
#8071DB #DBB571 #97DB71
monochromatic
#3C2AA7 #5440CF #8071DB #ACA2E7 #D7D3F4

Accessibility & contrast

On white

3.96
#8071DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8071DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8071DB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8071DB#FFFFFF#000000##000000
##8071DB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#66879C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8071db;
/* rgb */ color: rgb(128, 113, 219);
/* oklch */ color: oklch(61.2% 0.156 287.4);
Tailwind
colors: {
  custom: {
    50: '#a99ae7',
    500: '#8071db',
    950: '#000000',
  },
}
SCSS
$custom: #8071db;
$custom-light: #a99ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8071db",
  "rgb": {
    "r": 128,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 248.491,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61183,
    "c": 0.15596,
    "h": 287.4
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8071DB

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

Preview Lab → · Contrast checker → · Palette generator →

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