#8178EA#8178EA

#8178EA is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.4% C 0.166 H 284.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8178EA
RGBrgb(129, 120, 234)
HSLhsl(245, 73%, 69%)
HSVhsv(245, 49%, 92%)
CMYKcmyk(44.9%, 48.7%, 0%, 8.2%)
CIE-LABlab(56.13, 31.86, -56.75)
CIE-LCHlch(56.13, 65.08, 299.31°)
OKLaboklab(63.45% 0.0407 -0.1612)
OKLCHoklch(63.45% 0.166 284.2)
XYZxyz(30.6167, 24.0392, 80.8528)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178EA #E1EA78
analogous
#78A8EA #8178EA #BA78EA
triadic
#8178EA #EA8178 #78EA81
tetradic
#8178EA #EA78A8 #E1EA78 #78EABA
square
#8178EA #EA78A8 #E1EA78 #78EABA
split-complementary
#8178EA #EABA78 #A8EA78
monochromatic
#2D1FC8 #5043E2 #8178EA #B2ADF2 #E4E2FA

Accessibility & contrast

On white

3.62
#8178EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8178EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178EA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178EA#FFFFFF#000000##000000
##8178EA1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AEE
Deuteranopia (green-blind)
#4283E7
Tritanopia (blue-blind)
#5F90A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8178ea;
/* rgb */ color: rgb(129, 120, 234);
/* oklch */ color: oklch(63.4% 0.166 284.2);
Tailwind
colors: {
  custom: {
    50: '#ab9ff1',
    500: '#8178ea',
    950: '#000000',
  },
}
SCSS
$custom: #8178ea;
$custom-light: #ab9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8178ea",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 244.737,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63448,
    "c": 0.16626,
    "h": 284.2
  },
  "luminance": 0.24041
}

Semantic roles & 50–950 ramp

primary
#8178EA
secondary
#EDEFCE
accent
#D510C6
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8178EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8178EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva