#8178FC#8178FC

#8178FC is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.6% C 0.190 H 282.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8178FC
RGBrgb(129, 120, 252)
HSLhsl(244, 96%, 73%)
HSVhsv(244, 52%, 99%)
CMYKcmyk(48.8%, 52.4%, 0%, 1.2%)
CIE-LABlab(57.20, 37.10, -65.02)
CIE-LCHlch(57.20, 74.86, 299.71°)
OKLaboklab(64.6% 0.042 -0.1855)
OKLCHoklch(64.6% 0.19 282.8)
XYZxyz(33.3351, 25.1266, 95.1700)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178FC #F3FC78
analogous
#78B1FC #8178FC #C378FC
triadic
#8178FC #FC8178 #78FC81
tetradic
#8178FC #FC78B1 #F3FC78 #78FCC3
square
#8178FC #FC78B1 #F3FC78 #78FCC3
split-complementary
#8178FC #FCC378 #B1FC78
monochromatic
#1605F4 #493CFB #8178FC #B9B4FD #E3E1FE

Accessibility & contrast

On white

3.49
#8178FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8178FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178FC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178FC#FFFFFF#000000##000000
##8178FC1.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#2785F9
Tritanopia (blue-blind)
#5395AF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8178fc;
/* rgb */ color: rgb(129, 120, 252);
/* oklch */ color: oklch(64.6% 0.190 282.8);
Tailwind
colors: {
  custom: {
    50: '#ad9ffe',
    500: '#8178fc',
    950: '#000000',
  },
}
SCSS
$custom: #8178fc;
$custom-light: #ad9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#8178fc",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 244.091,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64596,
    "c": 0.19019,
    "h": 282.8
  },
  "luminance": 0.25128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8178FC

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

Preview Lab → · Contrast checker → · Palette generator →

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