#8797EA#8797EA

#8797EA is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.8% C 0.123 H 274.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8797EA
RGBrgb(135, 151, 234)
HSLhsl(230, 70%, 72%)
HSVhsv(230, 42%, 92%)
CMYKcmyk(42.3%, 35.5%, 0%, 8.2%)
CIE-LABlab(64.34, 15.15, -43.70)
CIE-LCHlch(64.34, 46.25, 289.12°)
OKLaboklab(69.82% 0.0096 -0.1228)
OKLCHoklch(69.82% 0.123 274.5)
XYZxyz(35.9050, 33.2229, 82.3467)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8797EA #EADA87
analogous
#87C9EA #8797EA #A987EA
triadic
#8797EA #EA8797 #97EA87
tetradic
#8797EA #EA87C9 #EADA87 #87EAA9
square
#8797EA #EA87C9 #EADA87 #87EAA9
split-complementary
#8797EA #EAA987 #C9EA87
monochromatic
#2541D2 #536AE1 #8797EA #BBC4F3 #E5E8FA

Accessibility & contrast

On white

2.75
#8797EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#8797EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8797EA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8797EA#FFFFFF#000000##000000
##8797EA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#66A8B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8797ea;
/* rgb */ color: rgb(135, 151, 234);
/* oklch */ color: oklch(69.8% 0.123 274.5);
Tailwind
colors: {
  custom: {
    50: '#aeb5f1',
    500: '#8797ea',
    950: '#000000',
  },
}
SCSS
$custom: #8797ea;
$custom-light: #aeb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8797ea",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 230.303,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69815,
    "c": 0.12316,
    "h": 274.5
  },
  "luminance": 0.33225
}

Semantic roles & 50–950 ramp

primary
#8797EA
secondary
#F2EED9
accent
#B313D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8797EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8797EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva