#8478FA#8478FA

#8478FA is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.7% C 0.187 H 284.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8478FA
RGBrgb(132, 120, 250)
HSLhsl(246, 93%, 73%)
HSVhsv(246, 52%, 98%)
CMYKcmyk(47.2%, 52%, 0%, 2%)
CIE-LABlab(57.31, 37.14, -63.73)
CIE-LCHlch(57.31, 73.76, 300.24°)
OKLaboklab(64.7% 0.0454 -0.1816)
OKLCHoklch(64.7% 0.187 284)
XYZxyz(33.4824, 25.2390, 93.5313)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478FA #EEFA78
analogous
#78ADFA #8478FA #C578FA
triadic
#8478FA #FA8478 #78FA84
tetradic
#8478FA #FA78AD #EEFA78 #78FAC5
square
#8478FA #FA78AD #EEFA78 #78FAC5
split-complementary
#8478FA #FAC578 #ADFA78
monochromatic
#1E09EF #4E3DF8 #8478FA #BAB3FC #E4E1FE

Accessibility & contrast

On white

3.47
#8478FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8478FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478FA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478FA#FFFFFF#000000##000000
##8478FA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#2F85F7
Tritanopia (blue-blind)
#5B94AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8478fa;
/* rgb */ color: rgb(132, 120, 250);
/* oklch */ color: oklch(64.7% 0.187 284.0);
Tailwind
colors: {
  custom: {
    50: '#af9ffd',
    500: '#8478fa',
    950: '#000000',
  },
}
SCSS
$custom: #8478fa;
$custom-light: #af9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8478fa",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 245.538,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64695,
    "c": 0.1872,
    "h": 284
  },
  "luminance": 0.25241
}

Semantic roles & 50–950 ramp

primary
#8478FA
secondary
#F3F6D5
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8478FA

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

Preview Lab → · Contrast checker → · Palette generator →

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