#7A87FD#7A87FD

#7A87FD is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.9% C 0.173 H 275.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7A87FD
RGBrgb(122, 135, 253)
HSLhsl(234, 97%, 74%)
HSVhsv(234, 52%, 99%)
CMYKcmyk(51.8%, 46.6%, 0%, 0.8%)
CIE-LABlab(60.39, 27.12, -60.48)
CIE-LCHlch(60.39, 66.28, 294.15°)
OKLaboklab(66.89% 0.0179 -0.1722)
OKLCHoklch(66.89% 0.173 275.9)
XYZxyz(34.4140, 28.5552, 96.6077)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87FD #FDF07A
analogous
#7AC8FD #7A87FD #AE7AFD
triadic
#7A87FD #FD7A87 #87FD7A
tetradic
#7A87FD #FD7AC8 #FDF07A #7AFDAE
square
#7A87FD #FD7AC8 #FDF07A #7AFDAE
split-complementary
#7A87FD #FDAE7A #C8FD7A
monochromatic
#041CF9 #3E51FC #7A87FD #B6BDFE #E1E4FF

Accessibility & contrast

On white

3.13
#7A87FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7A87FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87FD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87FD#FFFFFF#000000##000000
##7A87FD1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#438CFA
Tritanopia (blue-blind)
#3FA1B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7a87fd;
/* rgb */ color: rgb(122, 135, 253);
/* oklch */ color: oklch(66.9% 0.173 275.9);
Tailwind
colors: {
  custom: {
    50: '#a8a9ff',
    500: '#7a87fd',
    950: '#000000',
  },
}
SCSS
$custom: #7a87fd;
$custom-light: #a8a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87fd",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 234.046,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66889,
    "c": 0.17314,
    "h": 275.9
  },
  "luminance": 0.28557
}

Semantic roles & 50–950 ramp

primary
#7A87FD
secondary
#F7F3D4
accent
#CF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7A87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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