#8178EB#8178EB

#8178EB is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.5% C 0.168 H 284.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8178EB
RGBrgb(129, 120, 235)
HSLhsl(245, 74%, 70%)
HSVhsv(245, 49%, 92%)
CMYKcmyk(45.1%, 48.9%, 0%, 7.8%)
CIE-LABlab(56.18, 32.15, -57.22)
CIE-LCHlch(56.18, 65.63, 299.33°)
OKLaboklab(63.51% 0.0408 -0.1626)
OKLCHoklch(63.51% 0.168 284.1)
XYZxyz(30.7607, 24.0969, 81.6115)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178EB #E2EB78
analogous
#78A8EB #8178EB #BB78EB
triadic
#8178EB #EB8178 #78EB81
tetradic
#8178EB #EB78A8 #E2EB78 #78EBBB
square
#8178EB #EB78A8 #E2EB78 #78EBBB
split-complementary
#8178EB #EBBB78 #A8EB78
monochromatic
#2C1ECB #4F43E3 #8178EB #B3ADF3 #E5E3FB

Accessibility & contrast

On white

3.61
#8178EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8178EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178EB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178EB#FFFFFF#000000##000000
##8178EB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#5E90A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8178eb;
/* rgb */ color: rgb(129, 120, 235);
/* oklch */ color: oklch(63.5% 0.168 284.1);
Tailwind
colors: {
  custom: {
    50: '#ab9ff2',
    500: '#8178eb',
    950: '#000000',
  },
}
SCSS
$custom: #8178eb;
$custom-light: #ab9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8178eb",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 244.696,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.1676,
    "h": 284.1
  },
  "luminance": 0.24098
}

Semantic roles & 50–950 ramp

primary
#8178EB
secondary
#EDF0CF
accent
#D60FC7
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8178EB

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

Preview Lab → · Contrast checker → · Palette generator →

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