#8178BF#8178BF

#8178BF is a mid, moderate blue. Relative luminance 0.219; OKLCH L 61.0% C 0.106 H 288.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8178BF
RGBrgb(129, 120, 191)
HSLhsl(248, 36%, 61%)
HSVhsv(248, 37%, 75%)
CMYKcmyk(32.5%, 37.2%, 0%, 25.1%)
CIE-LABlab(53.88, 19.88, -36.02)
CIE-LCHlch(53.88, 41.15, 298.90°)
OKLaboklab(61.01% 0.034 -0.1007)
OKLCHoklch(61.01% 0.106 288.6)
XYZxyz(25.1712, 21.8611, 52.1735)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178BF #B6BF78
analogous
#7892BF #8178BF #A478BF
triadic
#8178BF #BF8178 #78BF81
tetradic
#8178BF #BF7892 #B6BF78 #78BFA4
square
#8178BF #BF7892 #B6BF78 #78BFA4
split-complementary
#8178BF #BFA478 #92BF78
monochromatic
#453D80 #5C50A9 #8178BF #A8A2D3 #CECBE6

Accessibility & contrast

On white

3.91
#8178BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8178BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178BF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178BF#FFFFFF#000000##000000
##8178BF1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C2
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#728592
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8178bf;
/* rgb */ color: rgb(129, 120, 191);
/* oklch */ color: oklch(61.0% 0.106 288.6);
Tailwind
colors: {
  custom: {
    50: '#a79fd2',
    500: '#8178bf',
    950: '#000000',
  },
}
SCSS
$custom: #8178bf;
$custom-light: #a79fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8178bf",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 247.606,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61014,
    "c": 0.10626,
    "h": 288.6
  },
  "luminance": 0.21862
}

Semantic roles & 50–950 ramp

primary
#8178BF
secondary
#D3D7BC
accent
#AF379F
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8178BF

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

Preview Lab → · Contrast checker → · Palette generator →

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