#7A87F4#7A87F4

#7A87F4 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.3% C 0.161 H 276.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7A87F4
RGBrgb(122, 135, 244)
HSLhsl(234, 85%, 72%)
HSVhsv(234, 50%, 96%)
CMYKcmyk(50%, 44.7%, 0%, 4.3%)
CIE-LABlab(59.88, 24.38, -56.33)
CIE-LCHlch(59.88, 61.38, 293.41°)
OKLaboklab(66.34% 0.0168 -0.16)
OKLCHoklch(66.34% 0.161 276)
XYZxyz(33.0140, 27.9952, 89.2344)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87F4 #F4E77A
analogous
#7AC4F4 #7A87F4 #AA7AF4
triadic
#7A87F4 #F47A87 #87F47A
tetradic
#7A87F4 #F47AC4 #F4E77A #7AF4AA
square
#7A87F4 #F47AC4 #F4E77A #7AF4AA
split-complementary
#7A87F4 #F4AA7A #C4F47A
monochromatic
#1329E1 #4154EF #7A87F4 #B3BAF9 #E3E5FD

Accessibility & contrast

On white

3.18
#7A87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#7A87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87F4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87F4#FFFFFF#000000##000000
##7A87F41.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F8
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#489EB2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a87f4;
/* rgb */ color: rgb(122, 135, 244);
/* oklch */ color: oklch(66.3% 0.161 276.0);
Tailwind
colors: {
  custom: {
    50: '#a7a9f8',
    500: '#7a87f4',
    950: '#000000',
  },
}
SCSS
$custom: #7a87f4;
$custom-light: #a7a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87f4",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 233.607,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66344,
    "c": 0.16089,
    "h": 276
  },
  "luminance": 0.27997
}

Semantic roles & 50–950 ramp

primary
#7A87F4
secondary
#F4F1D5
accent
#CA04E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A87F4

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

Preview Lab → · Contrast checker → · Palette generator →

#7A87F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva