#7A87F5#7A87F5

#7A87F5 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.4% C 0.162 H 276.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7A87F5
RGBrgb(122, 135, 245)
HSLhsl(234, 86%, 72%)
HSVhsv(234, 50%, 96%)
CMYKcmyk(50.2%, 44.9%, 0%, 3.9%)
CIE-LABlab(59.94, 24.69, -56.79)
CIE-LCHlch(59.94, 61.93, 293.49°)
OKLaboklab(66.4% 0.0169 -0.1614)
OKLCHoklch(66.4% 0.162 276)
XYZxyz(33.1663, 28.0561, 90.0362)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87F5 #F5E87A
analogous
#7AC4F5 #7A87F5 #AB7AF5
triadic
#7A87F5 #F57A87 #87F57A
tetradic
#7A87F5 #F57AC4 #F5E87A #7AF5AB
square
#7A87F5 #F57AC4 #F5E87A #7AF5AB
split-complementary
#7A87F5 #F5AB7A #C4F57A
monochromatic
#1127E3 #4154F1 #7A87F5 #B3BAF9 #E3E5FD

Accessibility & contrast

On white

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

On black

6.61
#7A87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87F5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87F5#FFFFFF#000000##000000
##7A87F51.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#479FB2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a87f5;
/* rgb */ color: rgb(122, 135, 245);
/* oklch */ color: oklch(66.4% 0.162 276.0);
Tailwind
colors: {
  custom: {
    50: '#a7a9f9',
    500: '#7a87f5',
    950: '#000000',
  },
}
SCSS
$custom: #7a87f5;
$custom-light: #a7a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87f5",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 233.659,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66404,
    "c": 0.16227,
    "h": 276
  },
  "luminance": 0.28058
}

Semantic roles & 50–950 ramp

primary
#7A87F5
secondary
#F5F2D6
accent
#CB03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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