#787DF3#787DF3

#787DF3 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.3% C 0.173 H 278.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#787DF3
RGBrgb(120, 125, 243)
HSLhsl(238, 84%, 71%)
HSVhsv(238, 51%, 95%)
CMYKcmyk(50.6%, 48.6%, 0%, 4.7%)
CIE-LABlab(57.20, 29.58, -60.07)
CIE-LCHlch(57.20, 66.96, 296.22°)
OKLaboklab(64.26% 0.0256 -0.1711)
OKLCHoklch(64.26% 0.173 278.5)
XYZxyz(31.2520, 25.1295, 87.9803)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DF3 #F3EE78
analogous
#78BAF3 #787DF3 #B078F3
triadic
#787DF3 #F3787D #7DF378
tetradic
#787DF3 #F378BA #F3EE78 #78F3B0
square
#787DF3 #F378BA #F3EE78 #78F3B0
split-complementary
#787DF3 #F3B078 #BAF378
monochromatic
#141CDD #4047EE #787DF3 #B0B3F8 #E3E4FD

Accessibility & contrast

On white

3.48
#787DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#787DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DF3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DF3#FFFFFF#000000##000000
##787DF31.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF7
Deuteranopia (green-blind)
#3985F0
Tritanopia (blue-blind)
#4597AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787df3;
/* rgb */ color: rgb(120, 125, 243);
/* oklch */ color: oklch(64.3% 0.173 278.5);
Tailwind
colors: {
  custom: {
    50: '#a6a2f8',
    500: '#787df3',
    950: '#000000',
  },
}
SCSS
$custom: #787df3;
$custom-light: #a6a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#787df3",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 237.561,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64259,
    "c": 0.17305,
    "h": 278.5
  },
  "luminance": 0.25131
}

Semantic roles & 50–950 ramp

primary
#787DF3
secondary
#F4F2D3
accent
#D705E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #787DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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