#8178BD#8178BD

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

Color values

HEX#8178BD
RGBrgb(129, 120, 189)
HSLhsl(248, 34%, 61%)
HSVhsv(248, 37%, 74%)
CMYKcmyk(31.7%, 36.5%, 0%, 25.9%)
CIE-LABlab(53.79, 19.36, -35.02)
CIE-LCHlch(53.79, 40.02, 298.93°)
OKLaboklab(60.91% 0.0335 -0.0978)
OKLCHoklch(60.91% 0.103 288.9)
XYZxyz(24.9526, 21.7736, 51.0223)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178BD #B4BD78
analogous
#7891BD #8178BD #A378BD
triadic
#8178BD #BD8178 #78BD81
tetradic
#8178BD #BD7891 #B4BD78 #78BDA3
square
#8178BD #BD7891 #B4BD78 #78BDA3
split-complementary
#8178BD #BDA378 #91BD78
monochromatic
#463D7D #5C51A6 #8178BD #A7A1D1 #CECAE5

Accessibility & contrast

On white

3.92
#8178BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8178BD#FFFFFF#000000##000000
##8178BD1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482C0
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#738592
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8178bd;
/* rgb */ color: rgb(129, 120, 189);
/* oklch */ color: oklch(60.9% 0.103 288.9);
Tailwind
colors: {
  custom: {
    50: '#a79fd1',
    500: '#8178bd',
    950: '#000000',
  },
}
SCSS
$custom: #8178bd;
$custom-light: #a79fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8178bd",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 247.826,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60912,
    "c": 0.10338,
    "h": 288.9
  },
  "luminance": 0.21774
}

Semantic roles & 50–950 ramp

primary
#8178BD
secondary
#D2D6BB
accent
#AD389E
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8178BD

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

Preview Lab → · Contrast checker → · Palette generator →

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