#8178FB#8178FB

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

Color values

HEX#8178FB
RGBrgb(129, 120, 251)
HSLhsl(244, 94%, 73%)
HSVhsv(244, 52%, 98%)
CMYKcmyk(48.6%, 52.2%, 0%, 1.6%)
CIE-LABlab(57.14, 36.80, -64.57)
CIE-LCHlch(57.14, 74.32, 299.68°)
OKLaboklab(64.53% 0.042 -0.1841)
OKLCHoklch(64.53% 0.189 282.8)
XYZxyz(33.1771, 25.0634, 94.3376)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178FB #F2FB78
analogous
#78B0FB #8178FB #C278FB
triadic
#8178FB #FB8178 #78FB81
tetradic
#8178FB #FB78B0 #F2FB78 #78FBC2
square
#8178FB #FB78B0 #F2FB78 #78FBC2
split-complementary
#8178FB #FBC278 #B0FB78
monochromatic
#1707F1 #4A3DF9 #8178FB #B8B3FD #E3E1FE

Accessibility & contrast

On white

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

On black

6.01
#8178FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178FB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178FB#FFFFFF#000000##000000
##8178FB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#2985F8
Tritanopia (blue-blind)
#5495AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8178fb;
/* rgb */ color: rgb(129, 120, 251);
/* oklch */ color: oklch(64.5% 0.189 282.8);
Tailwind
colors: {
  custom: {
    50: '#ad9ffd',
    500: '#8178fb',
    950: '#000000',
  },
}
SCSS
$custom: #8178fb;
$custom-light: #ad9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8178fb",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 244.122,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6453,
    "c": 0.18887,
    "h": 282.8
  },
  "luminance": 0.25065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8178FB

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

Preview Lab → · Contrast checker → · Palette generator →

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