#8078C9#8078C9

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

Color values

HEX#8078C9
RGBrgb(128, 120, 201)
HSLhsl(246, 43%, 63%)
HSVhsv(246, 40%, 79%)
CMYKcmyk(36.3%, 40.3%, 0%, 21.2%)
CIE-LABlab(54.28, 22.31, -41.11)
CIE-LCHlch(54.28, 46.77, 298.49°)
OKLaboklab(61.46% 0.0349 -0.1155)
OKLCHoklch(61.46% 0.121 286.8)
XYZxyz(26.1583, 22.2384, 58.1612)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078C9 #C1C978
analogous
#7898C9 #8078C9 #A878C9
triadic
#8078C9 #C98078 #78C980
tetradic
#8078C9 #C97898 #C1C978 #78C9A8
square
#8078C9 #C97898 #C1C978 #78C9A8
split-complementary
#8078C9 #C9A878 #98C978
monochromatic
#41398E #574CB8 #8078C9 #A9A4DA #D2CFEC

Accessibility & contrast

On white

3.85
#8078C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8078C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078C9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078C9#FFFFFF#000000##000000
##8078C91.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)
#5E84CC
Deuteranopia (green-blind)
#5C80C7
Tritanopia (blue-blind)
#6D8797
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8078c9;
/* rgb */ color: rgb(128, 120, 201);
/* oklch */ color: oklch(61.5% 0.121 286.8);
Tailwind
colors: {
  custom: {
    50: '#a79fda',
    500: '#8078c9',
    950: '#000000',
  },
}
SCSS
$custom: #8078c9;
$custom-light: #a79fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8078c9",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 201
  },
  "hsl": {
    "h": 245.926,
    "s": 42.857,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61456,
    "c": 0.12061,
    "h": 286.8
  },
  "luminance": 0.22239
}

Semantic roles & 50–950 ramp

primary
#8078C9
secondary
#DADDC0
accent
#B630A9
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8078C9

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

Preview Lab → · Contrast checker → · Palette generator →

#8078C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva