#8178ED#8178ED

#8178ED is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.6% C 0.170 H 283.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8178ED
RGBrgb(129, 120, 237)
HSLhsl(245, 76%, 70%)
HSVhsv(245, 49%, 93%)
CMYKcmyk(45.6%, 49.4%, 0%, 7.1%)
CIE-LABlab(56.30, 32.72, -58.15)
CIE-LCHlch(56.30, 66.72, 299.37°)
OKLaboklab(63.64% 0.041 -0.1653)
OKLCHoklch(63.64% 0.17 283.9)
XYZxyz(31.0513, 24.2131, 83.1418)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178ED #E4ED78
analogous
#78AAED #8178ED #BB78ED
triadic
#8178ED #ED8178 #78ED81
tetradic
#8178ED #ED78AA #E4ED78 #78EDBB
square
#8178ED #ED78AA #E4ED78 #78EDBB
split-complementary
#8178ED #EDBB78 #AAED78
monochromatic
#291CCF #4F42E6 #8178ED #B3AEF4 #E6E4FB

Accessibility & contrast

On white

3.59
#8178ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8178ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178ED
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178ED#FFFFFF#000000##000000
##8178ED1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF1
Deuteranopia (green-blind)
#3F83EA
Tritanopia (blue-blind)
#5D91A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8178ed;
/* rgb */ color: rgb(129, 120, 237);
/* oklch */ color: oklch(63.6% 0.170 283.9);
Tailwind
colors: {
  custom: {
    50: '#ab9ff3',
    500: '#8178ed',
    950: '#000000',
  },
}
SCSS
$custom: #8178ed;
$custom-light: #ab9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#8178ed",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 244.615,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.63635,
    "c": 0.1703,
    "h": 283.9
  },
  "luminance": 0.24214
}

Semantic roles & 50–950 ramp

primary
#8178ED
secondary
#EEF1D0
accent
#D90DC9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8178ED

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

Preview Lab → · Contrast checker → · Palette generator →

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