#8178E8#8178E8

#8178E8 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.3% C 0.164 H 284.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8178E8
RGBrgb(129, 120, 232)
HSLhsl(245, 71%, 69%)
HSVhsv(245, 48%, 91%)
CMYKcmyk(44.4%, 48.3%, 0%, 9%)
CIE-LABlab(56.01, 31.28, -55.82)
CIE-LCHlch(56.01, 63.99, 299.27°)
OKLaboklab(63.33% 0.0405 -0.1585)
OKLCHoklch(63.33% 0.164 284.3)
XYZxyz(30.3310, 23.9249, 79.3481)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178E8 #DFE878
analogous
#78A7E8 #8178E8 #B978E8
triadic
#8178E8 #E88178 #78E881
tetradic
#8178E8 #E878A7 #DFE878 #78E8B9
square
#8178E8 #E878A7 #DFE878 #78E8B9
split-complementary
#8178E8 #E8B978 #A7E878
monochromatic
#2F21C4 #5044DF #8178E8 #B2ACF1 #E3E1FA

Accessibility & contrast

On white

3.63
#8178E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8178E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178E8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178E8#FFFFFF#000000##000000
##8178E81.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#498AEC
Deuteranopia (green-blind)
#4483E5
Tritanopia (blue-blind)
#608FA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8178e8;
/* rgb */ color: rgb(129, 120, 232);
/* oklch */ color: oklch(63.3% 0.164 284.3);
Tailwind
colors: {
  custom: {
    50: '#ab9ff0',
    500: '#8178e8',
    950: '#000000',
  },
}
SCSS
$custom: #8178e8;
$custom-light: #ab9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8178e8",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 244.821,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63325,
    "c": 0.16356,
    "h": 284.3
  },
  "luminance": 0.23926
}

Semantic roles & 50–950 ramp

primary
#8178E8
secondary
#ECEECD
accent
#D313C3
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #8178E8

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

Preview Lab → · Contrast checker → · Palette generator →

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