#7E97DF#7E97DF

#7E97DF is a light, moderate blue. Relative luminance 0.319; OKLCH L 68.7% C 0.110 H 268.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7E97DF
RGBrgb(126, 151, 223)
HSLhsl(225, 60%, 68%)
HSVhsv(225, 43%, 87%)
CMYKcmyk(43.5%, 32.3%, 0%, 12.5%)
CIE-LABlab(63.26, 9.75, -39.36)
CIE-LCHlch(63.26, 40.55, 283.91°)
OKLaboklab(68.66% -0.0023 -0.1104)
OKLCHoklch(68.66% 0.11 268.8)
XYZxyz(32.9859, 31.8947, 74.2159)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97DF #DFC67E
analogous
#7EC7DF #7E97DF #957EDF
triadic
#7E97DF #DF7E97 #97DF7E
tetradic
#7E97DF #DF7EC7 #DFC67E #7EDF95
square
#7E97DF #DF7EC7 #DFC67E #7EDF95
split-complementary
#7E97DF #DF957E #C7DF7E
monochromatic
#2D50B6 #4D6FD3 #7E97DF #AFBFEB #E0E6F7

Accessibility & contrast

On white

2.85
#7E97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#7E97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97DF
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97DF#FFFFFF#000000##000000
##7E97DF1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9EE2
Deuteranopia (green-blind)
#7495DD
Tritanopia (blue-blind)
#5CA6B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7e97df;
/* rgb */ color: rgb(126, 151, 223);
/* oklch */ color: oklch(68.7% 0.110 268.8);
Tailwind
colors: {
  custom: {
    50: '#a7b5e9',
    500: '#7e97df',
    950: '#000000',
  },
}
SCSS
$custom: #7e97df;
$custom-light: #a7b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97df",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 224.536,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68661,
    "c": 0.11039,
    "h": 268.8
  },
  "luminance": 0.31897
}

Semantic roles & 50–950 ramp

primary
#7E97DF
secondary
#EBE3CE
accent
#9C1EC8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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