#8A98C2#8A98C2

#8A98C2 is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.4% C 0.064 H 270.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A98C2
RGBrgb(138, 152, 194)
HSLhsl(225, 31%, 65%)
HSVhsv(225, 29%, 76%)
CMYKcmyk(28.9%, 21.6%, 0%, 23.9%)
CIE-LABlab(63.14, 4.69, -23.32)
CIE-LCHlch(63.14, 23.78, 281.38°)
OKLaboklab(68.38% 0.0003 -0.0642)
OKLCHoklch(68.38% 0.064 270.3)
XYZxyz(31.4444, 31.7538, 55.5008)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98C2 #C2B48A
analogous
#8AB4C2 #8A98C2 #988AC2
triadic
#8A98C2 #C28A98 #98C28A
tetradic
#8A98C2 #C28AB4 #C2B48A #8AC298
square
#8A98C2 #C28AB4 #C2B48A #8AC298
split-complementary
#8A98C2 #C2988A #B4C28A
monochromatic
#48588A #6275AD #8A98C2 #B2BBD7 #DADFEC

Accessibility & contrast

On white

2.86
#8A98C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#8A98C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98C2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98C2#FFFFFF#000000##000000
##8A98C21.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9BC4
Deuteranopia (green-blind)
#8797C1
Tritanopia (blue-blind)
#7BA0A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a98c2;
/* rgb */ color: rgb(138, 152, 194);
/* oklch */ color: oklch(68.4% 0.064 270.3);
Tailwind
colors: {
  custom: {
    50: '#adb6d4',
    500: '#8a98c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a98c2;
$custom-light: #adb6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98c2",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 194
  },
  "hsl": {
    "h": 225,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68384,
    "c": 0.06421,
    "h": 270.3
  },
  "luminance": 0.31755
}

Semantic roles & 50–950 ramp

primary
#8A98C2
secondary
#DDD9CA
accent
#8E3BAA
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A98C2

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

Preview Lab → · Contrast checker → · Palette generator →

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