#8078DB#8078DB

#8078DB is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.5% C 0.146 H 285.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8078DB
RGBrgb(128, 120, 219)
HSLhsl(245, 58%, 66%)
HSVhsv(245, 45%, 86%)
CMYKcmyk(41.6%, 45.2%, 0%, 14.1%)
CIE-LABlab(55.21, 27.33, -49.81)
CIE-LCHlch(55.21, 56.82, 298.75°)
OKLaboklab(62.47% 0.0378 -0.1409)
OKLCHoklch(62.47% 0.146 285)
XYZxyz(28.4011, 23.1355, 69.9733)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8078DB #D3DB78
analogous
#78A2DB #8078DB #B278DB
triadic
#8078DB #DB8078 #78DB80
tetradic
#8078DB #DB78A2 #D3DB78 #78DBB2
square
#8078DB #DB78A2 #D3DB78 #78DBB2
split-complementary
#8078DB #DBB278 #A2DB78
monochromatic
#382EAB #5348CE #8078DB #ADA8E8 #DBD9F5

Accessibility & contrast

On white

3.73
#8078DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8078DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8078DB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8078DB#FFFFFF#000000##000000
##8078DB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DF
Deuteranopia (green-blind)
#5081D9
Tritanopia (blue-blind)
#658C9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8078db;
/* rgb */ color: rgb(128, 120, 219);
/* oklch */ color: oklch(62.5% 0.146 285.0);
Tailwind
colors: {
  custom: {
    50: '#a99fe7',
    500: '#8078db',
    950: '#000000',
  },
}
SCSS
$custom: #8078db;
$custom-light: #a99fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8078db",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 244.848,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.14587,
    "h": 285
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#8078DB
secondary
#E5E7C7
accent
#C520B8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8078DB

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

Preview Lab → · Contrast checker → · Palette generator →

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