#787DF1#787DF1

#787DF1 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.1% C 0.170 H 278.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#787DF1
RGBrgb(120, 125, 241)
HSLhsl(238, 81%, 71%)
HSVhsv(238, 50%, 95%)
CMYKcmyk(50.2%, 48.1%, 0%, 5.5%)
CIE-LABlab(57.08, 28.97, -59.15)
CIE-LCHlch(57.08, 65.87, 296.10°)
OKLaboklab(64.13% 0.0254 -0.1684)
OKLCHoklch(64.13% 0.17 278.6)
XYZxyz(30.9516, 25.0094, 86.3984)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DF1 #F1EC78
analogous
#78B9F1 #787DF1 #AF78F1
triadic
#787DF1 #F1787D #7DF178
tetradic
#787DF1 #F178B9 #F1EC78 #78F1AF
square
#787DF1 #F178B9 #F1EC78 #78F1AF
split-complementary
#787DF1 #F1AF78 #B9F178
monochromatic
#161ED8 #4148EB #787DF1 #AFB2F7 #E3E4FC

Accessibility & contrast

On white

3.50
#787DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#787DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DF1
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DF1#FFFFFF#000000##000000
##787DF11.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#488EF5
Deuteranopia (green-blind)
#3C84EE
Tritanopia (blue-blind)
#4796AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787df1;
/* rgb */ color: rgb(120, 125, 241);
/* oklch */ color: oklch(64.1% 0.170 278.6);
Tailwind
colors: {
  custom: {
    50: '#a6a2f6',
    500: '#787df1',
    950: '#000000',
  },
}
SCSS
$custom: #787df1;
$custom-light: #a6a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#787df1",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 237.521,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.17034,
    "h": 278.6
  },
  "luminance": 0.25011
}

Semantic roles & 50–950 ramp

primary
#787DF1
secondary
#F3F1D2
accent
#D508DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #787DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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