#8798E9#8798E9

#8798E9 is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.0% C 0.120 H 273.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8798E9
RGBrgb(135, 152, 233)
HSLhsl(230, 69%, 72%)
HSVhsv(230, 42%, 91%)
CMYKcmyk(42.1%, 34.8%, 0%, 8.6%)
CIE-LABlab(64.55, 14.29, -42.81)
CIE-LCHlch(64.55, 45.13, 288.46°)
OKLaboklab(69.96% 0.0081 -0.1202)
OKLCHoklch(69.96% 0.12 273.9)
XYZxyz(35.9234, 33.4888, 81.6461)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798E9 #E9D887
analogous
#87C9E9 #8798E9 #A787E9
triadic
#8798E9 #E98798 #98E987
tetradic
#8798E9 #E987C9 #E9D887 #87E9A7
square
#8798E9 #E987C9 #E9D887 #87E9A7
split-complementary
#8798E9 #E9A787 #C9E987
monochromatic
#2643D0 #536CE0 #8798E9 #BBC4F2 #E5E9FA

Accessibility & contrast

On white

2.73
#8798E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8798E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798E9
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798E9#FFFFFF#000000##000000
##8798E91.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA1EC
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#67A8B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8798e9;
/* rgb */ color: rgb(135, 152, 233);
/* oklch */ color: oklch(70.0% 0.120 273.9);
Tailwind
colors: {
  custom: {
    50: '#aeb6f0',
    500: '#8798e9',
    950: '#000000',
  },
}
SCSS
$custom: #8798e9;
$custom-light: #aeb6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8798e9",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 233
  },
  "hsl": {
    "h": 229.592,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69964,
    "c": 0.12049,
    "h": 273.9
  },
  "luminance": 0.33491
}

Semantic roles & 50–950 ramp

primary
#8798E9
secondary
#F2EED9
accent
#B015D1
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8798E9

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

Preview Lab → · Contrast checker → · Palette generator →

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