#8478F2#8478F2

#8478F2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.2% C 0.177 H 284.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8478F2
RGBrgb(132, 120, 242)
HSLhsl(246, 82%, 71%)
HSVhsv(246, 50%, 95%)
CMYKcmyk(45.5%, 50.4%, 0%, 5.1%)
CIE-LABlab(56.83, 34.84, -60.07)
CIE-LCHlch(56.83, 69.44, 300.11°)
OKLaboklab(64.18% 0.0449 -0.1708)
OKLCHoklch(64.18% 0.177 284.7)
XYZxyz(32.2545, 24.7478, 87.0645)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8478F2 #E6F278
analogous
#78A9F2 #8478F2 #C178F2
triadic
#8478F2 #F28478 #78F284
tetradic
#8478F2 #F278A9 #E6F278 #78F2C1
square
#8478F2 #F278A9 #E6F278 #78F2C1
split-complementary
#8478F2 #F2C178 #A9F278
monochromatic
#2815DB #5140ED #8478F2 #B7B0F7 #E6E3FC

Accessibility & contrast

On white

3.53
#8478F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8478F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8478F2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8478F2#FFFFFF#000000##000000
##8478F21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#3B85EF
Tritanopia (blue-blind)
#6092AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8478f2;
/* rgb */ color: rgb(132, 120, 242);
/* oklch */ color: oklch(64.2% 0.177 284.7);
Tailwind
colors: {
  custom: {
    50: '#ae9ff7',
    500: '#8478f2',
    950: '#000000',
  },
}
SCSS
$custom: #8478f2;
$custom-light: #ae9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8478f2",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 245.902,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64184,
    "c": 0.17665,
    "h": 284.7
  },
  "luminance": 0.24749
}

Semantic roles & 50–950 ramp

primary
#8478F2
secondary
#F0F3D3
accent
#DF07CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8478F2

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

Preview Lab → · Contrast checker → · Palette generator →

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