#8478EA#8478EA

#8478EA is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.7% C 0.166 H 285.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8478EA
RGBrgb(132, 120, 234)
HSLhsl(246, 73%, 69%)
HSVhsv(246, 49%, 92%)
CMYKcmyk(43.6%, 48.7%, 0%, 8.2%)
CIE-LABlab(56.36, 32.55, -56.36)
CIE-LCHlch(56.36, 65.08, 300.01°)
OKLaboklab(63.69% 0.0442 -0.16)
OKLCHoklch(63.69% 0.166 285.5)
XYZxyz(31.0792, 24.2777, 80.8745)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478EA #DEEA78
analogous
#78A5EA #8478EA #BD78EA
triadic
#8478EA #EA8478 #78EA84
tetradic
#8478EA #EA78A5 #DEEA78 #78EABD
square
#8478EA #EA78A5 #DEEA78 #78EABD
split-complementary
#8478EA #EABD78 #A5EA78
monochromatic
#311FC8 #5443E2 #8478EA #B4ADF2 #E5E2FA

Accessibility & contrast

On white

3.59
#8478EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8478EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478EA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478EA#FFFFFF#000000##000000
##8478EA1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#488AEE
Deuteranopia (green-blind)
#4584E7
Tritanopia (blue-blind)
#6490A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8478ea;
/* rgb */ color: rgb(132, 120, 234);
/* oklch */ color: oklch(63.7% 0.166 285.5);
Tailwind
colors: {
  custom: {
    50: '#ad9ff1',
    500: '#8478ea',
    950: '#000000',
  },
}
SCSS
$custom: #8478ea;
$custom-light: #ad9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8478ea",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 246.316,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63686,
    "c": 0.16596,
    "h": 285.5
  },
  "luminance": 0.24279
}

Semantic roles & 50–950 ramp

primary
#8478EA
secondary
#ECEFCE
accent
#D510C0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8478EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8478EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva