#8478F8#8478F8

#8478F8 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.6% C 0.185 H 284.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8478F8
RGBrgb(132, 120, 248)
HSLhsl(246, 90%, 72%)
HSVhsv(246, 52%, 97%)
CMYKcmyk(46.8%, 51.6%, 0%, 2.7%)
CIE-LABlab(57.19, 36.57, -62.82)
CIE-LCHlch(57.19, 72.69, 300.20°)
OKLaboklab(64.57% 0.0453 -0.1789)
OKLCHoklch(64.57% 0.185 284.2)
XYZxyz(33.1705, 25.1142, 91.8885)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478F8 #ECF878
analogous
#78ACF8 #8478F8 #C478F8
triadic
#8478F8 #F88478 #78F884
tetradic
#8478F8 #F878AC #ECF878 #78F8C4
square
#8478F8 #F878AC #ECF878 #78F8C4
split-complementary
#8478F8 #F8C478 #ACF878
monochromatic
#210CE9 #4F3EF5 #8478F8 #B9B2FB #E4E2FD

Accessibility & contrast

On white

3.49
#8478F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8478F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478F8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478F8#FFFFFF#000000##000000
##8478F81.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFC
Deuteranopia (green-blind)
#3285F5
Tritanopia (blue-blind)
#5C94AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8478f8;
/* rgb */ color: rgb(132, 120, 248);
/* oklch */ color: oklch(64.6% 0.185 284.2);
Tailwind
colors: {
  custom: {
    50: '#ae9ffb',
    500: '#8478f8',
    950: '#000000',
  },
}
SCSS
$custom: #8478f8;
$custom-light: #ae9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#8478f8",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 245.625,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64566,
    "c": 0.18458,
    "h": 284.2
  },
  "luminance": 0.25116
}

Semantic roles & 50–950 ramp

primary
#8478F8
secondary
#F3F6D5
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8478F8

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

Preview Lab → · Contrast checker → · Palette generator →

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