#8078CA#8078CA

#8078CA is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.122 H 286.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8078CA
RGBrgb(128, 120, 202)
HSLhsl(246, 44%, 63%)
HSVhsv(246, 41%, 79%)
CMYKcmyk(36.6%, 40.6%, 0%, 20.8%)
CIE-LABlab(54.33, 22.58, -41.60)
CIE-LCHlch(54.33, 47.33, 298.49°)
OKLaboklab(61.51% 0.0351 -0.1169)
OKLCHoklch(61.51% 0.122 286.7)
XYZxyz(26.2763, 22.2856, 58.7828)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078CA #C2CA78
analogous
#7899CA #8078CA #A978CA
triadic
#8078CA #CA8078 #78CA80
tetradic
#8078CA #CA7899 #C2CA78 #78CAA9
square
#8078CA #CA7899 #C2CA78 #78CAA9
split-complementary
#8078CA #CAA978 #99CA78
monochromatic
#41388F #574CB9 #8078CA #A9A4DB #D3D0ED

Accessibility & contrast

On white

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

On black

5.46
#8078CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078CA#FFFFFF#000000##000000
##8078CA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#6C8897
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8078ca;
/* rgb */ color: rgb(128, 120, 202);
/* oklch */ color: oklch(61.5% 0.122 286.7);
Tailwind
colors: {
  custom: {
    50: '#a89fda',
    500: '#8078ca',
    950: '#000000',
  },
}
SCSS
$custom: #8078ca;
$custom-light: #a89fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8078ca",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 245.854,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6151,
    "c": 0.12203,
    "h": 286.7
  },
  "luminance": 0.22286
}

Semantic roles & 50–950 ramp

primary
#8078CA
secondary
#DBDEC0
accent
#B72FA9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8078CA

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

Preview Lab → · Contrast checker → · Palette generator →

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