#8798E7#8798E7

#8798E7 is a light, moderate blue. Relative luminance 0.334; OKLCH L 69.9% C 0.118 H 273.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8798E7
RGBrgb(135, 152, 231)
HSLhsl(229, 67%, 72%)
HSVhsv(229, 42%, 91%)
CMYKcmyk(41.6%, 34.2%, 0%, 9.4%)
CIE-LABlab(64.46, 13.73, -41.85)
CIE-LCHlch(64.46, 44.05, 288.16°)
OKLaboklab(69.86% 0.0077 -0.1174)
OKLCHoklch(69.86% 0.118 273.7)
XYZxyz(35.6393, 33.3752, 80.1500)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798E7 #E7D687
analogous
#87C8E7 #8798E7 #A687E7
triadic
#8798E7 #E78798 #98E787
tetradic
#8798E7 #E787C8 #E7D687 #87E7A6
square
#8798E7 #E787C8 #E7D687 #87E7A6
split-complementary
#8798E7 #E7A687 #C8E787
monochromatic
#2945CB #546CDD #8798E7 #BAC4F1 #E5E9FA

Accessibility & contrast

On white

2.74
#8798E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#8798E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798E7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798E7#FFFFFF#000000##000000
##8798E71.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0EA
Deuteranopia (green-blind)
#7599E5
Tritanopia (blue-blind)
#68A8B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8798e7;
/* rgb */ color: rgb(135, 152, 231);
/* oklch */ color: oklch(69.9% 0.118 273.7);
Tailwind
colors: {
  custom: {
    50: '#aeb6ef',
    500: '#8798e7',
    950: '#000000',
  },
}
SCSS
$custom: #8798e7;
$custom-light: #aeb6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8798e7",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 229.375,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69864,
    "c": 0.11767,
    "h": 273.7
  },
  "luminance": 0.33377
}

Semantic roles & 50–950 ramp

primary
#8798E7
secondary
#F1EDD9
accent
#AE17CF
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8798E7

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

Preview Lab → · Contrast checker → · Palette generator →

#8798E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva