#787CDC#787CDC

#787CDC is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.7% C 0.143 H 279.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#787CDC
RGBrgb(120, 124, 220)
HSLhsl(238, 59%, 67%)
HSVhsv(238, 45%, 86%)
CMYKcmyk(45.5%, 43.6%, 0%, 13.7%)
CIE-LABlab(55.66, 23.29, -49.70)
CIE-LCHlch(55.66, 54.89, 295.11°)
OKLaboklab(62.67% 0.0239 -0.1407)
OKLCHoklch(62.67% 0.143 279.6)
XYZxyz(27.8678, 23.5743, 70.7782)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CDC #DCD878
analogous
#78AEDC #787CDC #A678DC
triadic
#787CDC #DC787C #7CDC78
tetradic
#787CDC #DC78AE #DCD878 #78DCA6
square
#787CDC #DC78AE #DCD878 #78DCA6
split-complementary
#787CDC #DCA678 #AEDC78
monochromatic
#2D32AD #474DCF #787CDC #A9ABE9 #D9DAF5

Accessibility & contrast

On white

3.67
#787CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#787CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CDC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CDC#FFFFFF#000000##000000
##787CDC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#5690A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787cdc;
/* rgb */ color: rgb(120, 124, 220);
/* oklch */ color: oklch(62.7% 0.143 279.6);
Tailwind
colors: {
  custom: {
    50: '#a4a1e7',
    500: '#787cdc',
    950: '#000000',
  },
}
SCSS
$custom: #787cdc;
$custom-light: #a4a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#787cdc",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 237.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62672,
    "c": 0.14273,
    "h": 279.6
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#787CDC
secondary
#E8E7C8
accent
#C01FC6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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