#787ADC#787ADC

#787ADC is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.3% C 0.145 H 280.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#787ADC
RGBrgb(120, 122, 220)
HSLhsl(239, 59%, 67%)
HSVhsv(239, 45%, 86%)
CMYKcmyk(45.5%, 44.5%, 0%, 13.7%)
CIE-LABlab(55.15, 24.49, -50.51)
CIE-LCHlch(55.15, 56.13, 295.87°)
OKLaboklab(62.29% 0.0263 -0.1431)
OKLCHoklch(62.29% 0.145 280.4)
XYZxyz(27.6197, 23.0781, 70.6955)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787ADC #DCDA78
analogous
#78ACDC #787ADC #A878DC
triadic
#787ADC #DC787A #7ADC78
tetradic
#787ADC #DC78AC #DCDA78 #78DCA8
square
#787ADC #DC78AC #DCDA78 #78DCA8
split-complementary
#787ADC #DCA878 #ACDC78
monochromatic
#2D2FAD #474ACF #787ADC #A9AAE9 #D9DAF5

Accessibility & contrast

On white

3.74
#787ADC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#787ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787ADC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787ADC#FFFFFF#000000##000000
##787ADC1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#4D80DA
Tritanopia (blue-blind)
#568EA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787adc;
/* rgb */ color: rgb(120, 122, 220);
/* oklch */ color: oklch(62.3% 0.145 280.4);
Tailwind
colors: {
  custom: {
    50: '#a4a0e7',
    500: '#787adc',
    950: '#000000',
  },
}
SCSS
$custom: #787adc;
$custom-light: #a4a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#787adc",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 220
  },
  "hsl": {
    "h": 238.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62288,
    "c": 0.14549,
    "h": 280.4
  },
  "luminance": 0.23079
}

Semantic roles & 50–950 ramp

primary
#787ADC
secondary
#E8E7C8
accent
#C31FC6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #787ADC

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

Preview Lab → · Contrast checker → · Palette generator →

#787ADC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva