#8A98DA#8A98DA

#8A98DA is a light, moderate blue. Relative luminance 0.329; OKLCH L 69.4% C 0.098 H 274.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8A98DA
RGBrgb(138, 152, 218)
HSLhsl(230, 52%, 70%)
HSVhsv(230, 37%, 85%)
CMYKcmyk(36.7%, 30.3%, 0%, 14.5%)
CIE-LABlab(64.10, 10.94, -35.22)
CIE-LCHlch(64.10, 36.88, 287.26°)
OKLaboklab(69.44% 0.0075 -0.0982)
OKLCHoklch(69.44% 0.098 274.4)
XYZxyz(34.3607, 32.9203, 70.8599)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98DA #DACC8A
analogous
#8AC0DA #8A98DA #A48ADA
triadic
#8A98DA #DA8A98 #98DA8A
tetradic
#8A98DA #DA8AC0 #DACC8A #8ADAA4
square
#8A98DA #DA8AC0 #DACC8A #8ADAA4
split-complementary
#8A98DA #DAA48A #C0DA8A
monochromatic
#384DB1 #5C6FCB #8A98DA #B8C1E9 #E7EAF7

Accessibility & contrast

On white

2.77
#8A98DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#8A98DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98DA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98DA#FFFFFF#000000##000000
##8A98DA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#839FDD
Deuteranopia (green-blind)
#7D98D8
Tritanopia (blue-blind)
#72A5AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a98da;
/* rgb */ color: rgb(138, 152, 218);
/* oklch */ color: oklch(69.4% 0.098 274.4);
Tailwind
colors: {
  custom: {
    50: '#aeb6e5',
    500: '#8a98da',
    950: '#000000',
  },
}
SCSS
$custom: #8a98da;
$custom-light: #aeb6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98da",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 229.5,
    "s": 51.948,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69444,
    "c": 0.09849,
    "h": 274.4
  },
  "luminance": 0.32922
}

Semantic roles & 50–950 ramp

primary
#8A98DA
secondary
#EBE7D5
accent
#A526BF
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8A98DA

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

Preview Lab → · Contrast checker → · Palette generator →

#8A98DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva