#7A87DF#7A87DF

#7A87DF is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.1% C 0.132 H 275.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7A87DF
RGBrgb(122, 135, 223)
HSLhsl(232, 61%, 68%)
HSVhsv(232, 45%, 87%)
CMYKcmyk(45.3%, 39.5%, 0%, 12.5%)
CIE-LABlab(58.78, 18.12, -46.42)
CIE-LCHlch(58.78, 49.83, 291.32°)
OKLaboklab(65.14% 0.0132 -0.131)
OKLCHoklch(65.14% 0.132 275.8)
XYZxyz(30.0052, 26.7916, 73.3880)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87DF #DFD27A
analogous
#7ABADF #7A87DF #9F7ADF
triadic
#7A87DF #DF7A87 #87DF7A
tetradic
#7A87DF #DF7ABA #DFD27A #7ADF9F
square
#7A87DF #DF7ABA #DFD27A #7ADF9F
split-complementary
#7A87DF #DF9F7A #BADF7A
monochromatic
#2B3DB3 #495AD3 #7A87DF #ABB4EB #DDE0F7

Accessibility & contrast

On white

3.30
#7A87DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7A87DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87DF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87DF#FFFFFF#000000##000000
##7A87DF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6692E2
Deuteranopia (green-blind)
#5E8ADD
Tritanopia (blue-blind)
#5699A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a87df;
/* rgb */ color: rgb(122, 135, 223);
/* oklch */ color: oklch(65.1% 0.132 275.8);
Tailwind
colors: {
  custom: {
    50: '#a5a9e9',
    500: '#7a87df',
    950: '#000000',
  },
}
SCSS
$custom: #7a87df;
$custom-light: #a5a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87df",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 232.277,
    "s": 61.212,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65143,
    "c": 0.13169,
    "h": 275.8
  },
  "luminance": 0.26793
}

Semantic roles & 50–950 ramp

primary
#7A87DF
secondary
#EAE6CB
accent
#B31DC9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7A87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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