#8178F9#8178F9

#8178F9 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.4% C 0.186 H 283.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8178F9
RGBrgb(129, 120, 249)
HSLhsl(244, 91%, 72%)
HSVhsv(244, 52%, 98%)
CMYKcmyk(48.2%, 51.8%, 0%, 2.4%)
CIE-LABlab(57.02, 36.22, -63.66)
CIE-LCHlch(57.02, 73.24, 299.64°)
OKLaboklab(64.4% 0.0418 -0.1815)
OKLCHoklch(64.4% 0.186 283)
XYZxyz(32.8635, 24.9380, 92.6860)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178F9 #F0F978
analogous
#78B0F9 #8178F9 #C178F9
triadic
#8178F9 #F98178 #78F981
tetradic
#8178F9 #F978B0 #F0F978 #78F9C1
square
#8178F9 #F978B0 #F0F978 #78F9C1
split-complementary
#8178F9 #F9C178 #B0F978
monochromatic
#1A0AEC #4A3DF6 #8178F9 #B8B3FC #E4E2FE

Accessibility & contrast

On white

3.51
#8178F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8178F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178F9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178F9#FFFFFF#000000##000000
##8178F91.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFE
Deuteranopia (green-blind)
#2D85F6
Tritanopia (blue-blind)
#5594AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8178f9;
/* rgb */ color: rgb(129, 120, 249);
/* oklch */ color: oklch(64.4% 0.186 283.0);
Tailwind
colors: {
  custom: {
    50: '#ad9ffc',
    500: '#8178f9',
    950: '#000000',
  },
}
SCSS
$custom: #8178f9;
$custom-light: #ad9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#8178f9",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 244.186,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64399,
    "c": 0.18624,
    "h": 283
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

primary
#8178F9
secondary
#F4F6D5
accent
#E600D5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8178F9

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

Preview Lab → · Contrast checker → · Palette generator →

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