#7787F2#7787F2

#7787F2 is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.0% C 0.159 H 274.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7787F2
RGBrgb(119, 135, 242)
HSLhsl(232, 83%, 71%)
HSVhsv(232, 51%, 95%)
CMYKcmyk(50.8%, 44.2%, 0%, 5.1%)
CIE-LABlab(59.58, 23.12, -55.72)
CIE-LCHlch(59.58, 60.33, 292.54°)
OKLaboklab(66.03% 0.0133 -0.1583)
OKLCHoklch(66.03% 0.159 274.8)
XYZxyz(32.2936, 27.6587, 87.6242)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7787F2 #F2E277
analogous
#77C4F2 #7787F2 #A477F2
triadic
#7787F2 #F27787 #87F277
tetradic
#7787F2 #F277C4 #F2E277 #77F2A4
square
#7787F2 #F277C4 #F2E277 #77F2A4
split-complementary
#7787F2 #F2A477 #C4F277
monochromatic
#152EDA #3F56ED #7787F2 #AFB8F7 #E3E6FC

Accessibility & contrast

On white

3.21
#7787F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7787F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7787F2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7787F2#FFFFFF#000000##000000
##7787F21.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#4D8BF0
Tritanopia (blue-blind)
#429EB1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7787f2;
/* rgb */ color: rgb(119, 135, 242);
/* oklch */ color: oklch(66.0% 0.159 274.8);
Tailwind
colors: {
  custom: {
    50: '#a5a9f7',
    500: '#7787f2',
    950: '#000000',
  },
}
SCSS
$custom: #7787f2;
$custom-light: #a5a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7787f2",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 232.195,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66026,
    "c": 0.15887,
    "h": 274.8
  },
  "luminance": 0.27661
}

Semantic roles & 50–950 ramp

primary
#7787F2
secondary
#F3EFD2
accent
#C307DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7787F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7787F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva