#8178DF#8178DF

#8178DF is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.8% C 0.151 H 285.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8178DF
RGBrgb(129, 120, 223)
HSLhsl(245, 62%, 67%)
HSVhsv(245, 46%, 87%)
CMYKcmyk(42.2%, 46.2%, 0%, 12.5%)
CIE-LABlab(55.51, 28.71, -51.58)
CIE-LCHlch(55.51, 59.03, 299.10°)
OKLaboklab(62.78% 0.0395 -0.146)
OKLCHoklch(62.78% 0.151 285.1)
XYZxyz(29.0852, 23.4266, 72.7870)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178DF #D6DF78
analogous
#78A2DF #8178DF #B578DF
triadic
#8178DF #DF8178 #78DF81
tetradic
#8178DF #DF78A2 #D6DF78 #78DFB5
square
#8178DF #DF78A2 #D6DF78 #78DFB5
split-complementary
#8178DF #DFB578 #A2DF78
monochromatic
#362AB2 #5347D3 #8178DF #AFA9EB #DDDBF6

Accessibility & contrast

On white

3.69
#8178DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8178DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178DF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178DF#FFFFFF#000000##000000
##8178DF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E3
Deuteranopia (green-blind)
#4D82DD
Tritanopia (blue-blind)
#658DA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8178df;
/* rgb */ color: rgb(129, 120, 223);
/* oklch */ color: oklch(62.8% 0.151 285.1);
Tailwind
colors: {
  custom: {
    50: '#aa9fe9',
    500: '#8178df',
    950: '#000000',
  },
}
SCSS
$custom: #8178df;
$custom-light: #aa9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8178df",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 245.243,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62783,
    "c": 0.15129,
    "h": 285.1
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#8178DF
secondary
#E7EAC9
accent
#C91CBA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8178DF

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

Preview Lab → · Contrast checker → · Palette generator →

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