#8478DB#8478DB

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

Color values

HEX#8478DB
RGBrgb(132, 120, 219)
HSLhsl(247, 58%, 66%)
HSVhsv(247, 45%, 86%)
CMYKcmyk(39.7%, 45.2%, 0%, 14.1%)
CIE-LABlab(55.53, 28.32, -49.28)
CIE-LCHlch(55.53, 56.84, 299.89°)
OKLaboklab(62.79% 0.0425 -0.1392)
OKLCHoklch(62.79% 0.146 287)
XYZxyz(29.0148, 23.4520, 70.0020)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478DB #CFDB78
analogous
#789EDB #8478DB #B678DB
triadic
#8478DB #DB8478 #78DB84
tetradic
#8478DB #DB789E #CFDB78 #78DBB6
square
#8478DB #DB789E #CFDB78 #78DBB6
split-complementary
#8478DB #DBB678 #9EDB78
monochromatic
#3D2EAB #5848CE #8478DB #B0A8E8 #DCD9F5

Accessibility & contrast

On white

3.69
#8478DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8478DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478DB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478DB#FFFFFF#000000##000000
##8478DB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488DF
Deuteranopia (green-blind)
#5282D9
Tritanopia (blue-blind)
#6C8C9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8478db;
/* rgb */ color: rgb(132, 120, 219);
/* oklch */ color: oklch(62.8% 0.146 287.0);
Tailwind
colors: {
  custom: {
    50: '#ac9fe7',
    500: '#8478db',
    950: '#000000',
  },
}
SCSS
$custom: #8478db;
$custom-light: #ac9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8478db",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 247.273,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62792,
    "c": 0.14557,
    "h": 287
  },
  "luminance": 0.23453
}

Semantic roles & 50–950 ramp

primary
#8478DB
secondary
#E4E7C7
accent
#C520B1
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8478DB

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

Preview Lab → · Contrast checker → · Palette generator →

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