#8798FA#8798FA

#8798FA is a light, vivid blue. Relative luminance 0.345; OKLCH L 70.9% C 0.144 H 274.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8798FA
RGBrgb(135, 152, 250)
HSLhsl(231, 92%, 75%)
HSVhsv(231, 46%, 98%)
CMYKcmyk(46%, 39.2%, 0%, 2%)
CIE-LABlab(65.36, 19.15, -50.87)
CIE-LCHlch(65.36, 54.35, 290.63°)
OKLaboklab(70.85% 0.0118 -0.1437)
OKLCHoklch(70.85% 0.144 274.7)
XYZxyz(38.4699, 34.5074, 95.0575)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798FA #FAE987
analogous
#87D2FA #8798FA #AF87FA
triadic
#8798FA #FA8798 #98FA87
tetradic
#8798FA #FA87D2 #FAE987 #87FAAF
square
#8798FA #FA87D2 #FAE987 #87FAAF
split-complementary
#8798FA #FAAF87 #D2FA87
monochromatic
#1133F5 #4C66F8 #8798FA #C2CAFC #E2E6FE

Accessibility & contrast

On white

2.66
#8798FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#8798FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798FA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798FA#FFFFFF#000000##000000
##8798FA1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#5DACBD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8798fa;
/* rgb */ color: rgb(135, 152, 250);
/* oklch */ color: oklch(70.9% 0.144 274.7);
Tailwind
colors: {
  custom: {
    50: '#afb6fc',
    500: '#8798fa',
    950: '#000000',
  },
}
SCSS
$custom: #8798fa;
$custom-light: #afb6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8798fa",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 231.13,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70851,
    "c": 0.14414,
    "h": 274.7
  },
  "luminance": 0.34509
}

Semantic roles & 50–950 ramp

primary
#8798FA
secondary
#F6F1D5
accent
#C400E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8798FA

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

Preview Lab → · Contrast checker → · Palette generator →

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