#8D78FC#8D78FC

#8D78FC is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.5% C 0.189 H 287.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8D78FC
RGBrgb(141, 120, 252)
HSLhsl(250, 96%, 73%)
HSVhsv(250, 52%, 99%)
CMYKcmyk(44%, 52.4%, 0%, 1.2%)
CIE-LABlab(58.15, 39.66, -63.43)
CIE-LCHlch(58.15, 74.81, 302.02°)
OKLaboklab(65.54% 0.0562 -0.1805)
OKLCHoklch(65.54% 0.189 287.3)
XYZxyz(35.2666, 26.1225, 95.2605)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78FC #E7FC78
analogous
#78A5FC #8D78FC #CF78FC
triadic
#8D78FC #FC8D78 #78FC8D
tetradic
#8D78FC #FC78A5 #E7FC78 #78FCCF
square
#8D78FC #FC78A5 #E7FC78 #78FCCF
split-complementary
#8D78FC #FCCF78 #A5FC78
monochromatic
#2B05F4 #5A3CFB #8D78FC #C0B4FD #E6E1FE

Accessibility & contrast

On white

3.37
#8D78FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8D78FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78FC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78FC#FFFFFF#000000##000000
##8D78FC1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#378FFF
Deuteranopia (green-blind)
#3788F9
Tritanopia (blue-blind)
#6B94AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d78fc;
/* rgb */ color: rgb(141, 120, 252);
/* oklch */ color: oklch(65.5% 0.189 287.3);
Tailwind
colors: {
  custom: {
    50: '#b49ffe',
    500: '#8d78fc',
    950: '#000000',
  },
}
SCSS
$custom: #8d78fc;
$custom-light: #b49ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78fc",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 249.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65543,
    "c": 0.18905,
    "h": 287.3
  },
  "luminance": 0.26124
}

Semantic roles & 50–950 ramp

primary
#8D78FC
secondary
#F1F7D4
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8D78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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