#8778DB#8778DB

#8778DB is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.0% C 0.145 H 288.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8778DB
RGBrgb(135, 120, 219)
HSLhsl(249, 58%, 66%)
HSVhsv(249, 45%, 86%)
CMYKcmyk(38.4%, 45.2%, 0%, 14.1%)
CIE-LABlab(55.78, 29.08, -48.87)
CIE-LCHlch(55.78, 56.87, 300.76°)
OKLaboklab(63.04% 0.0461 -0.1379)
OKLCHoklch(63.04% 0.145 288.5)
XYZxyz(29.4908, 23.6974, 70.0243)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8778DB #CCDB78
analogous
#789BDB #8778DB #B978DB
triadic
#8778DB #DB8778 #78DB87
tetradic
#8778DB #DB789B #CCDB78 #78DBB9
square
#8778DB #DB789B #CCDB78 #78DBB9
split-complementary
#8778DB #DBB978 #9BDB78
monochromatic
#412EAB #5C48CE #8778DB #B2A8E8 #DDD9F5

Accessibility & contrast

On white

3.66
#8778DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8778DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8778DB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8778DB#FFFFFF#000000##000000
##8778DB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488DF
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#708C9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8778db;
/* rgb */ color: rgb(135, 120, 219);
/* oklch */ color: oklch(63.0% 0.145 288.5);
Tailwind
colors: {
  custom: {
    50: '#ad9fe6',
    500: '#8778db',
    950: '#000000',
  },
}
SCSS
$custom: #8778db;
$custom-light: #ad9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8778db",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 249.091,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63041,
    "c": 0.14542,
    "h": 288.5
  },
  "luminance": 0.23698
}

Semantic roles & 50–950 ramp

primary
#8778DB
secondary
#E3E7C7
accent
#C520AC
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8778DB

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

Preview Lab → · Contrast checker → · Palette generator →

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