#8178BB#8178BB

#8178BB is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.8% C 0.100 H 289.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8178BB
RGBrgb(129, 120, 187)
HSLhsl(248, 33%, 60%)
HSVhsv(248, 36%, 73%)
CMYKcmyk(31%, 35.8%, 0%, 26.7%)
CIE-LABlab(53.69, 18.83, -34.02)
CIE-LCHlch(53.69, 38.88, 298.96°)
OKLaboklab(60.81% 0.0331 -0.0949)
OKLCHoklch(60.81% 0.1 289.2)
XYZxyz(24.7371, 21.6874, 49.8868)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8178BB #B2BB78
analogous
#7890BB #8178BB #A378BB
triadic
#8178BB #BB8178 #78BB81
tetradic
#8178BB #BB7890 #B2BB78 #78BBA3
square
#8178BB #BB7890 #B2BB78 #78BBA3
split-complementary
#8178BB #BBA378 #90BB78
monochromatic
#463E7B #5D52A3 #8178BB #A7A1D0 #CDC9E4

Accessibility & contrast

On white

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

On black

5.34
#8178BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8178BB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8178BB#FFFFFF#000000##000000
##8178BB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#738491
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8178bb;
/* rgb */ color: rgb(129, 120, 187);
/* oklch */ color: oklch(60.8% 0.100 289.2);
Tailwind
colors: {
  custom: {
    50: '#a79fcf',
    500: '#8178bb',
    950: '#000000',
  },
}
SCSS
$custom: #8178bb;
$custom-light: #a79fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8178bb",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 248.06,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60811,
    "c": 0.10048,
    "h": 289.2
  },
  "luminance": 0.21688
}

Semantic roles & 50–950 ramp

primary
#8178BB
secondary
#D1D4BB
accent
#AC3A9C
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8178BB

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

Preview Lab → · Contrast checker → · Palette generator →

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