#8478EE#8478EE

#8478EE is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.9% C 0.171 H 285.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8478EE
RGBrgb(132, 120, 238)
HSLhsl(246, 78%, 70%)
HSVhsv(246, 50%, 93%)
CMYKcmyk(44.5%, 49.6%, 0%, 6.7%)
CIE-LABlab(56.59, 33.69, -58.22)
CIE-LCHlch(56.59, 67.26, 300.06°)
OKLaboklab(63.93% 0.0446 -0.1654)
OKLCHoklch(63.93% 0.171 285.1)
XYZxyz(31.6603, 24.5102, 83.9351)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478EE #E2EE78
analogous
#78A7EE #8478EE #BF78EE
triadic
#8478EE #EE8478 #78EE84
tetradic
#8478EE #EE78A7 #E2EE78 #78EEBF
square
#8478EE #EE78A7 #E2EE78 #78EEBF
split-complementary
#8478EE #EEBF78 #A7EE78
monochromatic
#2D1AD1 #5242E7 #8478EE #B6AEF5 #E6E4FC

Accessibility & contrast

On white

3.56
#8478EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8478EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478EE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478EE#FFFFFF#000000##000000
##8478EE1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF2
Deuteranopia (green-blind)
#4084EB
Tritanopia (blue-blind)
#6291A8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8478ee;
/* rgb */ color: rgb(132, 120, 238);
/* oklch */ color: oklch(63.9% 0.171 285.1);
Tailwind
colors: {
  custom: {
    50: '#ad9ff4',
    500: '#8478ee',
    950: '#000000',
  },
}
SCSS
$custom: #8478ee;
$custom-light: #ad9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8478ee",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 246.102,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63933,
    "c": 0.17132,
    "h": 285.1
  },
  "luminance": 0.24512
}

Semantic roles & 50–950 ramp

primary
#8478EE
secondary
#EEF1D1
accent
#DA0CC5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8478EE

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

Preview Lab → · Contrast checker → · Palette generator →

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