#8178FE#8178FE

#8178FE is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.7% C 0.193 H 282.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8178FE
RGBrgb(129, 120, 254)
HSLhsl(244, 99%, 73%)
HSVhsv(244, 53%, 100%)
CMYKcmyk(49.2%, 52.8%, 0%, 0.4%)
CIE-LABlab(57.32, 37.68, -65.92)
CIE-LCHlch(57.32, 75.93, 299.75°)
OKLaboklab(64.73% 0.0421 -0.1882)
OKLCHoklch(64.73% 0.193 282.6)
XYZxyz(33.6537, 25.2541, 96.8479)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178FE #F5FE78
analogous
#78B2FE #8178FE #C478FE
triadic
#8178FE #FE8178 #78FE81
tetradic
#8178FE #FE78B2 #F5FE78 #78FEC4
square
#8178FE #FE78B2 #F5FE78 #78FEC4
split-complementary
#8178FE #FEC478 #B2FE78
monochromatic
#1302FA #483BFE #8178FE #BAB5FE #E3E1FF

Accessibility & contrast

On white

3.47
#8178FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8178FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178FE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178FE#FFFFFF#000000##000000
##8178FE1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#2285FB
Tritanopia (blue-blind)
#5296B0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8178fe;
/* rgb */ color: rgb(129, 120, 254);
/* oklch */ color: oklch(64.7% 0.193 282.6);
Tailwind
colors: {
  custom: {
    50: '#ad9fff',
    500: '#8178fe',
    950: '#000000',
  },
}
SCSS
$custom: #8178fe;
$custom-light: #ad9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8178fe",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 244.03,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.64727,
    "c": 0.1928,
    "h": 282.6
  },
  "luminance": 0.25256
}

Semantic roles & 50–950 ramp

primary
#8178FE
secondary
#F5F7D4
accent
#E600D6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8178FE

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

Preview Lab → · Contrast checker → · Palette generator →

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