#8077CE#8077CE

#8077CE is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.129 H 286.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8077CE
RGBrgb(128, 119, 206)
HSLhsl(246, 47%, 64%)
HSVhsv(246, 42%, 81%)
CMYKcmyk(37.9%, 42.2%, 0%, 19.2%)
CIE-LABlab(54.28, 24.28, -43.95)
CIE-LCHlch(54.28, 50.21, 298.92°)
OKLaboklab(61.54% 0.0371 -0.1237)
OKLCHoklch(61.54% 0.129 286.7)
XYZxyz(26.6364, 22.2382, 61.2695)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8077CE #C5CE77
analogous
#7799CE #8077CE #AB77CE
triadic
#8077CE #CE8077 #77CE80
tetradic
#8077CE #CE7799 #C5CE77 #77CEAB
square
#8077CE #CE7799 #C5CE77 #77CEAB
split-complementary
#8077CE #CEAB77 #99CE77
monochromatic
#403695 #564ABE #8077CE #AAA4DE #D4D1EE

Accessibility & contrast

On white

3.85
#8077CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8077CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8077CE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8077CE#FFFFFF#000000##000000
##8077CE1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D1
Deuteranopia (green-blind)
#587FCC
Tritanopia (blue-blind)
#6B8898
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8077ce;
/* rgb */ color: rgb(128, 119, 206);
/* oklch */ color: oklch(61.5% 0.129 286.7);
Tailwind
colors: {
  custom: {
    50: '#a89edd',
    500: '#8077ce',
    950: '#000000',
  },
}
SCSS
$custom: #8077ce;
$custom-light: #a89edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8077ce",
  "rgb": {
    "r": 128,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 246.207,
    "s": 47.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61538,
    "c": 0.12917,
    "h": 286.7
  },
  "luminance": 0.22239
}

Semantic roles & 50–950 ramp

primary
#8077CE
secondary
#DDE0C1
accent
#BA2BAB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8077CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8077CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva