#7C97DF#7C97DF

#7C97DF is a light, moderate blue. Relative luminance 0.317; OKLCH L 68.5% C 0.111 H 267.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7C97DF
RGBrgb(124, 151, 223)
HSLhsl(224, 61%, 68%)
HSVhsv(224, 44%, 87%)
CMYKcmyk(44.4%, 32.3%, 0%, 12.5%)
CIE-LABlab(63.13, 9.25, -39.57)
CIE-LCHlch(63.13, 40.64, 283.16°)
OKLaboklab(68.53% -0.0043 -0.111)
OKLCHoklch(68.53% 0.111 267.8)
XYZxyz(32.6939, 31.7442, 74.2022)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C97DF #DFC47C
analogous
#7CC9DF #7C97DF #927CDF
triadic
#7C97DF #DF7C97 #97DF7C
tetradic
#7C97DF #DF7CC9 #DFC47C #7CDF92
square
#7C97DF #DF7CC9 #DFC47C #7CDF92
split-complementary
#7C97DF #DF927C #C9DF7C
monochromatic
#2C51B5 #4B70D3 #7C97DF #ADBEEB #DEE5F7

Accessibility & contrast

On white

2.86
#7C97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#7C97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C97DF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C97DF#FFFFFF#000000##000000
##7C97DF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9EE2
Deuteranopia (green-blind)
#7395DD
Tritanopia (blue-blind)
#58A6B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7c97df;
/* rgb */ color: rgb(124, 151, 223);
/* oklch */ color: oklch(68.5% 0.111 267.8);
Tailwind
colors: {
  custom: {
    50: '#a6b5e9',
    500: '#7c97df',
    950: '#000000',
  },
}
SCSS
$custom: #7c97df;
$custom-light: #a6b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c97df",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 223.636,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68532,
    "c": 0.11108,
    "h": 267.8
  },
  "luminance": 0.31746
}

Semantic roles & 50–950 ramp

primary
#7C97DF
secondary
#EBE2CC
accent
#9A1DC8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7C97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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