#8478CA#8478CA

#8478CA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.122 H 289.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8478CA
RGBrgb(132, 120, 202)
HSLhsl(249, 44%, 63%)
HSVhsv(249, 41%, 79%)
CMYKcmyk(34.7%, 40.6%, 0%, 20.8%)
CIE-LABlab(54.66, 23.67, -41.05)
CIE-LCHlch(54.66, 47.38, 299.97°)
OKLaboklab(61.84% 0.0398 -0.1152)
OKLCHoklch(61.84% 0.122 289)
XYZxyz(26.8900, 22.6021, 58.8115)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478CA #BECA78
analogous
#7895CA #8478CA #AD78CA
triadic
#8478CA #CA8478 #78CA84
tetradic
#8478CA #CA7895 #BECA78 #78CAAD
square
#8478CA #CA7895 #BECA78 #78CAAD
split-complementary
#8478CA #CAAD78 #95CA78
monochromatic
#45388F #5C4CB9 #8478CA #ACA4DB #D4D0ED

Accessibility & contrast

On white

3.80
#8478CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8478CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478CA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478CA#FFFFFF#000000##000000
##8478CA1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CD
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#728797
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8478ca;
/* rgb */ color: rgb(132, 120, 202);
/* oklch */ color: oklch(61.8% 0.122 289.0);
Tailwind
colors: {
  custom: {
    50: '#aa9fda',
    500: '#8478ca',
    950: '#000000',
  },
}
SCSS
$custom: #8478ca;
$custom-light: #aa9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#8478ca",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 248.78,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61844,
    "c": 0.12187,
    "h": 289
  },
  "luminance": 0.22603
}

Semantic roles & 50–950 ramp

primary
#8478CA
secondary
#D9DEC0
accent
#B72FA3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8478CA

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

Preview Lab → · Contrast checker → · Palette generator →

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