#8778BB#8778BB

#8778BB is a mid, moderate violet. Relative luminance 0.222; OKLCH L 61.3% C 0.101 H 293.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8778BB
RGBrgb(135, 120, 187)
HSLhsl(253, 33%, 60%)
HSVhsv(253, 36%, 73%)
CMYKcmyk(27.8%, 35.8%, 0%, 26.7%)
CIE-LABlab(54.21, 20.60, -33.18)
CIE-LCHlch(54.21, 39.05, 301.83°)
OKLaboklab(61.33% 0.0401 -0.0923)
OKLCHoklch(61.33% 0.101 293.5)
XYZxyz(25.6756, 22.1713, 49.9308)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778BB #ACBB78
analogous
#788ABB #8778BB #A978BB
triadic
#8778BB #BB8778 #78BB87
tetradic
#8778BB #BB788A #ACBB78 #78BBA9
square
#8778BB #BB788A #ACBB78 #78BBA9
split-complementary
#8778BB #BBA978 #8ABB78
monochromatic
#4B3E7B #6452A3 #8778BB #ABA1D0 #CFC9E4

Accessibility & contrast

On white

3.86
#8778BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8778BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778BB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778BB#FFFFFF#000000##000000
##8778BB1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BE
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#7C8491
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8778bb;
/* rgb */ color: rgb(135, 120, 187);
/* oklch */ color: oklch(61.3% 0.101 293.5);
Tailwind
colors: {
  custom: {
    50: '#ab9fcf',
    500: '#8778bb',
    950: '#000000',
  },
}
SCSS
$custom: #8778bb;
$custom-light: #ab9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8778bb",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 253.433,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6133,
    "c": 0.10068,
    "h": 293.5
  },
  "luminance": 0.22172
}

Semantic roles & 50–950 ramp

primary
#8778BB
secondary
#CED4BB
accent
#AC3A92
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8778BB

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

Preview Lab → · Contrast checker → · Palette generator →

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