#8A78EE#8A78EE

#8A78EE is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.4% C 0.171 H 287.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A78EE
RGBrgb(138, 120, 238)
HSLhsl(249, 78%, 70%)
HSVhsv(249, 50%, 93%)
CMYKcmyk(42%, 49.6%, 0%, 6.7%)
CIE-LABlab(57.08, 35.07, -57.41)
CIE-LCHlch(57.08, 67.28, 301.42°)
OKLaboklab(64.42% 0.0517 -0.1629)
OKLCHoklch(64.42% 0.171 287.6)
XYZxyz(32.6260, 25.0081, 83.9803)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A78EE #DCEE78
analogous
#78A1EE #8A78EE #C578EE
triadic
#8A78EE #EE8A78 #78EE8A
tetradic
#8A78EE #EE78A1 #DCEE78 #78EEC5
square
#8A78EE #EE78A1 #DCEE78 #78EEC5
split-complementary
#8A78EE #EEC578 #A1EE78
monochromatic
#361AD1 #5B42E7 #8A78EE #B9AEF5 #E7E4FC

Accessibility & contrast

On white

3.50
#8A78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A78EE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A78EE#FFFFFF#000000##000000
##8A78EE1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#4586EB
Tritanopia (blue-blind)
#6D91A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a78ee;
/* rgb */ color: rgb(138, 120, 238);
/* oklch */ color: oklch(64.4% 0.171 287.6);
Tailwind
colors: {
  custom: {
    50: '#b19ff4',
    500: '#8a78ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a78ee;
$custom-light: #b19ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a78ee",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 249.153,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64419,
    "c": 0.1709,
    "h": 287.6
  },
  "luminance": 0.25009
}

Semantic roles & 50–950 ramp

primary
#8A78EE
secondary
#ECF1D1
accent
#DA0CBA
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A78EE

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

Preview Lab → · Contrast checker → · Palette generator →

#8A78EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva