#7A87F6#7A87F6

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

Color values

HEX#7A87F6
RGBrgb(122, 135, 246)
HSLhsl(234, 87%, 72%)
HSVhsv(234, 50%, 96%)
CMYKcmyk(50.4%, 45.1%, 0%, 3.5%)
CIE-LABlab(59.99, 24.99, -57.26)
CIE-LCHlch(59.99, 62.47, 293.58°)
OKLaboklab(66.46% 0.017 -0.1627)
OKLCHoklch(66.46% 0.164 276)
XYZxyz(33.3193, 28.1173, 90.8424)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87F6 #F6E97A
analogous
#7AC5F6 #7A87F6 #AB7AF6
triadic
#7A87F6 #F67A87 #87F67A
tetradic
#7A87F6 #F67AC5 #F6E97A #7AF6AB
square
#7A87F6 #F67AC5 #F6E97A #7AF6AB
split-complementary
#7A87F6 #F6AB7A #C5F67A
monochromatic
#1026E6 #4153F2 #7A87F6 #B3BBFA #E2E5FD

Accessibility & contrast

On white

3.17
#7A87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7A87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87F6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87F6#FFFFFF#000000##000000
##7A87F61.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#4B8CF4
Tritanopia (blue-blind)
#469FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a87f6;
/* rgb */ color: rgb(122, 135, 246);
/* oklch */ color: oklch(66.5% 0.164 276.0);
Tailwind
colors: {
  custom: {
    50: '#a8a9fa',
    500: '#7a87f6',
    950: '#000000',
  },
}
SCSS
$custom: #7a87f6;
$custom-light: #a8a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87f6",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 233.71,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66464,
    "c": 0.16364,
    "h": 276
  },
  "luminance": 0.28119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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