#7A87F3#7A87F3

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

Color values

HEX#7A87F3
RGBrgb(122, 135, 243)
HSLhsl(234, 83%, 72%)
HSVhsv(234, 50%, 95%)
CMYKcmyk(49.8%, 44.4%, 0%, 4.7%)
CIE-LABlab(59.83, 24.08, -55.86)
CIE-LCHlch(59.83, 60.83, 293.32°)
OKLaboklab(66.29% 0.0166 -0.1587)
OKLCHoklch(66.29% 0.16 276)
XYZxyz(32.8626, 27.9346, 88.4369)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87F3 #F3E67A
analogous
#7AC4F3 #7A87F3 #AA7AF3
triadic
#7A87F3 #F37A87 #87F37A
tetradic
#7A87F3 #F37AC4 #F3E67A #7AF3AA
square
#7A87F3 #F37AC4 #F3E67A #7AF3AA
split-complementary
#7A87F3 #F3AA7A #C4F37A
monochromatic
#142ADF #4254EE #7A87F3 #B2BAF8 #E3E6FC

Accessibility & contrast

On white

3.19
#7A87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7A87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87F3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87F3#FFFFFF#000000##000000
##7A87F31.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F7
Deuteranopia (green-blind)
#4E8BF1
Tritanopia (blue-blind)
#489EB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a87f3;
/* rgb */ color: rgb(122, 135, 243);
/* oklch */ color: oklch(66.3% 0.160 276.0);
Tailwind
colors: {
  custom: {
    50: '#a7a9f7',
    500: '#7a87f3',
    950: '#000000',
  },
}
SCSS
$custom: #7a87f3;
$custom-light: #a7a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87f3",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 233.554,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66285,
    "c": 0.15953,
    "h": 276
  },
  "luminance": 0.27937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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