#8078CD#8078CD

#8078CD is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.126 H 286.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8078CD
RGBrgb(128, 120, 205)
HSLhsl(246, 46%, 64%)
HSVhsv(246, 41%, 80%)
CMYKcmyk(37.6%, 41.5%, 0%, 19.6%)
CIE-LABlab(54.48, 23.41, -43.06)
CIE-LCHlch(54.48, 49.01, 298.53°)
OKLaboklab(61.67% 0.0356 -0.1211)
OKLCHoklch(61.67% 0.126 286.4)
XYZxyz(26.6350, 22.4291, 60.6717)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078CD #C5CD78
analogous
#789ACD #8078CD #AA78CD
triadic
#8078CD #CD8078 #78CD80
tetradic
#8078CD #CD789A #C5CD78 #78CDAA
square
#8078CD #CD789A #C5CD78 #78CDAA
split-complementary
#8078CD #CDAA78 #9ACD78
monochromatic
#403794 #564BBC #8078CD #AAA5DE #D4D1EE

Accessibility & contrast

On white

3.83
#8078CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8078CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078CD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078CD#FFFFFF#000000##000000
##8078CD1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D0
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#6B8899
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8078cd;
/* rgb */ color: rgb(128, 120, 205);
/* oklch */ color: oklch(61.7% 0.126 286.4);
Tailwind
colors: {
  custom: {
    50: '#a89fdc',
    500: '#8078cd',
    950: '#000000',
  },
}
SCSS
$custom: #8078cd;
$custom-light: #a89fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8078cd",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 245.647,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.12628,
    "h": 286.4
  },
  "luminance": 0.2243
}

Semantic roles & 50–950 ramp

primary
#8078CD
secondary
#DDDFC1
accent
#B92CAC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8078CD

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

Preview Lab → · Contrast checker → · Palette generator →

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