#8D78FE#8D78FE

#8D78FE is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.7% C 0.192 H 287.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8D78FE
RGBrgb(141, 120, 254)
HSLhsl(249, 99%, 73%)
HSVhsv(249, 53%, 100%)
CMYKcmyk(44.5%, 52.8%, 0%, 0.4%)
CIE-LABlab(58.27, 40.22, -64.34)
CIE-LCHlch(58.27, 75.88, 302.01°)
OKLaboklab(65.67% 0.0563 -0.1832)
OKLCHoklch(65.67% 0.192 287.1)
XYZxyz(35.5852, 26.2500, 96.9385)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78FE #E9FE78
analogous
#78A6FE #8D78FE #D078FE
triadic
#8D78FE #FE8D78 #78FE8D
tetradic
#8D78FE #FE78A6 #E9FE78 #78FED0
square
#8D78FE #FE78A6 #E9FE78 #78FED0
split-complementary
#8D78FE #FED078 #A6FE78
monochromatic
#2902FA #5A3BFE #8D78FE #C0B5FE #E5E1FF

Accessibility & contrast

On white

3.36
#8D78FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#8D78FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78FE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78FE#FFFFFF#000000##000000
##8D78FE1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#358FFF
Deuteranopia (green-blind)
#3388FB
Tritanopia (blue-blind)
#6A95B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d78fe;
/* rgb */ color: rgb(141, 120, 254);
/* oklch */ color: oklch(65.7% 0.192 287.1);
Tailwind
colors: {
  custom: {
    50: '#b59fff',
    500: '#8d78fe',
    950: '#000000',
  },
}
SCSS
$custom: #8d78fe;
$custom-light: #b59fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78fe",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 249.403,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65671,
    "c": 0.19163,
    "h": 287.1
  },
  "luminance": 0.26251
}

Semantic roles & 50–950 ramp

primary
#8D78FE
secondary
#F2F7D4
accent
#E600C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8D78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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