#8478F5#8478F5

#8478F5 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.4% C 0.181 H 284.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8478F5
RGBrgb(132, 120, 245)
HSLhsl(246, 86%, 72%)
HSVhsv(246, 51%, 96%)
CMYKcmyk(46.1%, 51%, 0%, 3.9%)
CIE-LABlab(57.01, 35.70, -61.45)
CIE-LCHlch(57.01, 71.06, 300.16°)
OKLaboklab(64.37% 0.0451 -0.1749)
OKLCHoklch(64.37% 0.181 284.5)
XYZxyz(32.7088, 24.9295, 89.4569)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478F5 #E9F578
analogous
#78ABF5 #8478F5 #C378F5
triadic
#8478F5 #F58478 #78F584
tetradic
#8478F5 #F578AB #E9F578 #78F5C3
square
#8478F5 #F578AB #E9F578 #78F5C3
split-complementary
#8478F5 #F5C378 #ABF578
monochromatic
#2511E2 #503FF1 #8478F5 #B8B1F9 #E5E3FD

Accessibility & contrast

On white

3.51
#8478F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8478F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478F5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478F5#FFFFFF#000000##000000
##8478F51.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DF9
Deuteranopia (green-blind)
#3785F2
Tritanopia (blue-blind)
#5E93AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8478f5;
/* rgb */ color: rgb(132, 120, 245);
/* oklch */ color: oklch(64.4% 0.181 284.5);
Tailwind
colors: {
  custom: {
    50: '#ae9ff9',
    500: '#8478f5',
    950: '#000000',
  },
}
SCSS
$custom: #8478f5;
$custom-light: #ae9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8478f5",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 245.76,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64374,
    "c": 0.18063,
    "h": 284.5
  },
  "luminance": 0.24931
}

Semantic roles & 50–950 ramp

primary
#8478F5
secondary
#F1F4D4
accent
#E303CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8478F5

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

Preview Lab → · Contrast checker → · Palette generator →

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