#8478DC#8478DC

#8478DC is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.8% C 0.147 H 286.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8478DC
RGBrgb(132, 120, 220)
HSLhsl(247, 59%, 67%)
HSVhsv(247, 45%, 86%)
CMYKcmyk(40%, 45.5%, 0%, 13.7%)
CIE-LABlab(55.59, 28.60, -49.76)
CIE-LCHlch(55.59, 57.39, 299.89°)
OKLaboklab(62.85% 0.0426 -0.1406)
OKLCHoklch(62.85% 0.147 286.9)
XYZxyz(29.1468, 23.5048, 70.6974)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478DC #D0DC78
analogous
#789EDC #8478DC #B678DC
triadic
#8478DC #DC8478 #78DC84
tetradic
#8478DC #DC789E #D0DC78 #78DCB6
square
#8478DC #DC789E #D0DC78 #78DCB6
split-complementary
#8478DC #DCB678 #9EDC78
monochromatic
#3C2DAD #5847CF #8478DC #B0A9E9 #DDD9F5

Accessibility & contrast

On white

3.68
#8478DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8478DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478DC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478DC#FFFFFF#000000##000000
##8478DC1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#5182DA
Tritanopia (blue-blind)
#6B8C9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8478dc;
/* rgb */ color: rgb(132, 120, 220);
/* oklch */ color: oklch(62.8% 0.147 286.9);
Tailwind
colors: {
  custom: {
    50: '#ac9fe7',
    500: '#8478dc',
    950: '#000000',
  },
}
SCSS
$custom: #8478dc;
$custom-light: #ac9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8478dc",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 247.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6285,
    "c": 0.14693,
    "h": 286.9
  },
  "luminance": 0.23506
}

Semantic roles & 50–950 ramp

primary
#8478DC
secondary
#E4E8C8
accent
#C61FB2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8478DC

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

Preview Lab → · Contrast checker → · Palette generator →

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