#8A78FF#8A78FF

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

Color values

HEX#8A78FF
RGBrgb(138, 120, 255)
HSLhsl(248, 100%, 74%)
HSVhsv(248, 53%, 100%)
CMYKcmyk(45.9%, 52.9%, 0%, 0%)
CIE-LABlab(58.09, 39.86, -65.20)
CIE-LCHlch(58.09, 76.42, 301.44°)
OKLaboklab(65.49% 0.0528 -0.1858)
OKLCHoklch(65.49% 0.193 285.9)
XYZxyz(35.2424, 26.0547, 97.7605)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A78FF #EDFF78
analogous
#78A9FF #8A78FF #CD78FF
triadic
#8A78FF #FF8A78 #78FF8A
tetradic
#8A78FF #FF78A9 #EDFF78 #78FFCD
square
#8A78FF #FF78A9 #EDFF78 #78FFCD
split-complementary
#8A78FF #FFCD78 #A9FF78
monochromatic
#2200FD #553BFF #8A78FF #BFB5FF #E4E0FF

Accessibility & contrast

On white

3.38
#8A78FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8A78FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A78FF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A78FF#FFFFFF#000000##000000
##8A78FF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#328FFF
Deuteranopia (green-blind)
#2E88FC
Tritanopia (blue-blind)
#6395B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a78ff;
/* rgb */ color: rgb(138, 120, 255);
/* oklch */ color: oklch(65.5% 0.193 285.9);
Tailwind
colors: {
  custom: {
    50: '#b39fff',
    500: '#8a78ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a78ff;
$custom-light: #b39fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a78ff",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 248,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65493,
    "c": 0.19313,
    "h": 285.9
  },
  "luminance": 0.26056
}

Semantic roles & 50–950 ramp

primary
#8A78FF
secondary
#F3F7D4
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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