#8478EF#8478EF

#8478EF is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.0% C 0.173 H 285.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8478EF
RGBrgb(132, 120, 239)
HSLhsl(246, 79%, 70%)
HSVhsv(246, 50%, 94%)
CMYKcmyk(44.8%, 49.8%, 0%, 6.3%)
CIE-LABlab(56.65, 33.98, -58.68)
CIE-LCHlch(56.65, 67.81, 300.07°)
OKLaboklab(64% 0.0447 -0.1668)
OKLCHoklch(64% 0.173 285)
XYZxyz(31.8076, 24.5691, 84.7110)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478EF #E3EF78
analogous
#78A8EF #8478EF #BF78EF
triadic
#8478EF #EF8478 #78EF84
tetradic
#8478EF #EF78A8 #E3EF78 #78EFBF
square
#8478EF #EF78A8 #E3EF78 #78EFBF
split-complementary
#8478EF #EFBF78 #A8EF78
monochromatic
#2C19D4 #5241E9 #8478EF #B6AFF5 #E6E4FC

Accessibility & contrast

On white

3.55
#8478EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8478EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478EF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478EF#FFFFFF#000000##000000
##8478EF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF3
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#6291A8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8478ef;
/* rgb */ color: rgb(132, 120, 239);
/* oklch */ color: oklch(64.0% 0.173 285.0);
Tailwind
colors: {
  custom: {
    50: '#ad9ff5',
    500: '#8478ef',
    950: '#000000',
  },
}
SCSS
$custom: #8478ef;
$custom-light: #ad9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#8478ef",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 246.05,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63995,
    "c": 0.17266,
    "h": 285
  },
  "luminance": 0.2457
}

Semantic roles & 50–950 ramp

primary
#8478EF
secondary
#EEF2D1
accent
#DB0AC6
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8478EF

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

Preview Lab → · Contrast checker → · Palette generator →

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