#7884DB#7884DB

#7884DB is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.2% C 0.130 H 276.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7884DB
RGBrgb(120, 132, 219)
HSLhsl(233, 58%, 66%)
HSVhsv(233, 45%, 86%)
CMYKcmyk(45.2%, 39.7%, 0%, 14.1%)
CIE-LABlab(57.66, 18.24, -45.96)
CIE-LCHlch(57.66, 49.45, 291.64°)
OKLaboklab(64.19% 0.014 -0.1297)
OKLCHoklch(64.19% 0.13 276.1)
XYZxyz(28.7793, 25.6086, 70.4306)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7884DB #DBCF78
analogous
#78B6DB #7884DB #9E78DB
triadic
#7884DB #DB7884 #84DB78
tetradic
#7884DB #DB78B6 #DBCF78 #78DB9E
square
#7884DB #DB78B6 #DBCF78 #78DB9E
split-complementary
#7884DB #DB9E78 #B6DB78
monochromatic
#2E3DAB #4858CE #7884DB #A8B0E8 #D9DCF5

Accessibility & contrast

On white

3.43
#7884DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7884DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7884DB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7884DB#FFFFFF#000000##000000
##7884DB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDE
Deuteranopia (green-blind)
#5C87D9
Tritanopia (blue-blind)
#5596A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7884db;
/* rgb */ color: rgb(120, 132, 219);
/* oklch */ color: oklch(64.2% 0.130 276.1);
Tailwind
colors: {
  custom: {
    50: '#a4a7e6',
    500: '#7884db',
    950: '#000000',
  },
}
SCSS
$custom: #7884db;
$custom-light: #a4a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7884db",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 232.727,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64186,
    "c": 0.13049,
    "h": 276.1
  },
  "luminance": 0.2561
}

Semantic roles & 50–950 ramp

primary
#7884DB
secondary
#E7E4C7
accent
#B120C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7884DB

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

Preview Lab → · Contrast checker → · Palette generator →

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