#8A78FD#8A78FD

#8A78FD is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.4% C 0.191 H 286.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8A78FD
RGBrgb(138, 120, 253)
HSLhsl(248, 97%, 73%)
HSVhsv(248, 53%, 99%)
CMYKcmyk(45.5%, 52.6%, 0%, 0.8%)
CIE-LABlab(57.97, 39.29, -64.30)
CIE-LCHlch(57.97, 75.35, 301.43°)
OKLaboklab(65.36% 0.0527 -0.1831)
OKLCHoklch(65.36% 0.191 286)
XYZxyz(34.9222, 25.9266, 96.0737)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A78FD #EBFD78
analogous
#78A8FD #8A78FD #CC78FD
triadic
#8A78FD #FD8A78 #78FD8A
tetradic
#8A78FD #FD78A8 #EBFD78 #78FDCC
square
#8A78FD #FD78A8 #EBFD78 #78FDCC
split-complementary
#8A78FD #FDCC78 #A8FD78
monochromatic
#2504F7 #563CFC #8A78FD #BEB4FE #E5E1FF

Accessibility & contrast

On white

3.39
#8A78FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#8A78FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A78FD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A78FD#FFFFFF#000000##000000
##8A78FD1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#358FFF
Deuteranopia (green-blind)
#3187FA
Tritanopia (blue-blind)
#6595AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a78fd;
/* rgb */ color: rgb(138, 120, 253);
/* oklch */ color: oklch(65.4% 0.191 286.0);
Tailwind
colors: {
  custom: {
    50: '#b39fff',
    500: '#8a78fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a78fd;
$custom-light: #b39fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a78fd",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 248.12,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65364,
    "c": 0.19054,
    "h": 286
  },
  "luminance": 0.25928
}

Semantic roles & 50–950 ramp

primary
#8A78FD
secondary
#F2F7D4
accent
#E600C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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