#8178BC#8178BC

#8178BC is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.9% C 0.102 H 289.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8178BC
RGBrgb(129, 120, 188)
HSLhsl(248, 34%, 60%)
HSVhsv(248, 36%, 74%)
CMYKcmyk(31.4%, 36.2%, 0%, 26.3%)
CIE-LABlab(53.74, 19.09, -34.52)
CIE-LCHlch(53.74, 39.45, 298.94°)
OKLaboklab(60.86% 0.0333 -0.0963)
OKLCHoklch(60.86% 0.102 289.1)
XYZxyz(24.8445, 21.7304, 50.4526)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178BC #B3BC78
analogous
#7891BC #8178BC #A378BC
triadic
#8178BC #BC8178 #78BC81
tetradic
#8178BC #BC7891 #B3BC78 #78BCA3
square
#8178BC #BC7891 #B3BC78 #78BCA3
split-complementary
#8178BC #BCA378 #91BC78
monochromatic
#463E7C #5D52A5 #8178BC #A7A1D0 #CDCAE5

Accessibility & contrast

On white

3.93
#8178BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8178BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178BC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178BC#FFFFFF#000000##000000
##8178BC1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#738491
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8178bc;
/* rgb */ color: rgb(129, 120, 188);
/* oklch */ color: oklch(60.9% 0.102 289.1);
Tailwind
colors: {
  custom: {
    50: '#a79fd0',
    500: '#8178bc',
    950: '#000000',
  },
}
SCSS
$custom: #8178bc;
$custom-light: #a79fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8178bc",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 247.941,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60861,
    "c": 0.10193,
    "h": 289.1
  },
  "luminance": 0.21731
}

Semantic roles & 50–950 ramp

primary
#8178BC
secondary
#D1D5BB
accent
#AC399D
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8178BC

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

Preview Lab → · Contrast checker → · Palette generator →

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