#8076DC#8076DC

#8076DC is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.2% C 0.150 H 285.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8076DC
RGBrgb(128, 118, 220)
HSLhsl(246, 59%, 66%)
HSVhsv(246, 46%, 86%)
CMYKcmyk(41.8%, 46.4%, 0%, 13.7%)
CIE-LABlab(54.77, 28.79, -51.07)
CIE-LCHlch(54.77, 58.63, 299.41°)
OKLaboklab(62.16% 0.0404 -0.1446)
OKLCHoklch(62.16% 0.15 285.6)
XYZxyz(28.2951, 22.7123, 70.5893)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8076DC #D2DC76
analogous
#769FDC #8076DC #B376DC
triadic
#8076DC #DC8076 #76DC80
tetradic
#8076DC #DC769F #D2DC76 #76DCB3
square
#8076DC #DC769F #D2DC76 #76DCB3
split-complementary
#8076DC #DCB376 #9FDC76
monochromatic
#382CAC #5345D0 #8076DC #ADA7E8 #DAD7F5

Accessibility & contrast

On white

3.79
#8076DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8076DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8076DC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8076DC#FFFFFF#000000##000000
##8076DC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#658B9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8076dc;
/* rgb */ color: rgb(128, 118, 220);
/* oklch */ color: oklch(62.2% 0.150 285.6);
Tailwind
colors: {
  custom: {
    50: '#a99de7',
    500: '#8076dc',
    950: '#000000',
  },
}
SCSS
$custom: #8076dc;
$custom-light: #a99de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8076dc",
  "rgb": {
    "r": 128,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 245.882,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62155,
    "c": 0.15012,
    "h": 285.6
  },
  "luminance": 0.22713
}

Semantic roles & 50–950 ramp

primary
#8076DC
secondary
#E4E8C6
accent
#C71FB6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8076DC

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

Preview Lab → · Contrast checker → · Palette generator →

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