#8D78FA#8D78FA

#8D78FA is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.4% C 0.186 H 287.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8D78FA
RGBrgb(141, 120, 250)
HSLhsl(250, 93%, 73%)
HSVhsv(250, 52%, 98%)
CMYKcmyk(43.6%, 52%, 0%, 2%)
CIE-LABlab(58.03, 39.11, -62.52)
CIE-LCHlch(58.03, 73.75, 302.02°)
OKLaboklab(65.42% 0.0561 -0.1778)
OKLCHoklch(65.42% 0.186 287.5)
XYZxyz(34.9514, 25.9964, 93.6002)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78FA #E5FA78
analogous
#78A4FA #8D78FA #CE78FA
triadic
#8D78FA #FA8D78 #78FA8D
tetradic
#8D78FA #FA78A4 #E5FA78 #78FACE
square
#8D78FA #FA78A4 #E5FA78 #78FACE
split-complementary
#8D78FA #FACE78 #A4FA78
monochromatic
#2E09EF #5B3DF8 #8D78FA #BFB3FC #E6E1FE

Accessibility & contrast

On white

3.39
#8D78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8D78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78FA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78FA#FFFFFF#000000##000000
##8D78FA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#3988F7
Tritanopia (blue-blind)
#6C94AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d78fa;
/* rgb */ color: rgb(141, 120, 250);
/* oklch */ color: oklch(65.4% 0.186 287.5);
Tailwind
colors: {
  custom: {
    50: '#b49ffd',
    500: '#8d78fa',
    950: '#000000',
  },
}
SCSS
$custom: #8d78fa;
$custom-light: #b49ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78fa",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 249.692,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65416,
    "c": 0.18646,
    "h": 287.5
  },
  "luminance": 0.25998
}

Semantic roles & 50–950 ramp

primary
#8D78FA
secondary
#F1F6D5
accent
#E600C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8D78FA

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

Preview Lab → · Contrast checker → · Palette generator →

#8D78FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva