#8A98DE#8A98DE

#8A98DE is a light, moderate blue. Relative luminance 0.331; OKLCH L 69.6% C 0.104 H 274.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8A98DE
RGBrgb(138, 152, 222)
HSLhsl(230, 56%, 71%)
HSVhsv(230, 38%, 87%)
CMYKcmyk(37.8%, 31.5%, 0%, 12.9%)
CIE-LABlab(64.27, 12.03, -37.17)
CIE-LCHlch(64.27, 39.07, 287.93°)
OKLaboklab(69.63% 0.0086 -0.1038)
OKLCHoklch(69.63% 0.104 274.7)
XYZxyz(34.8904, 33.1322, 73.6499)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98DE #DED08A
analogous
#8AC2DE #8A98DE #A68ADE
triadic
#8A98DE #DE8A98 #98DE8A
tetradic
#8A98DE #DE8AC2 #DED08A #8ADEA6
square
#8A98DE #DE8AC2 #DED08A #8ADEA6
split-complementary
#8A98DE #DEA68A #C2DE8A
monochromatic
#344AB9 #5A6ED1 #8A98DE #BAC2EB #E7EAF8

Accessibility & contrast

On white

2.75
#8A98DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#8A98DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98DE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98DE#FFFFFF#000000##000000
##8A98DE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#819FE1
Deuteranopia (green-blind)
#7B99DC
Tritanopia (blue-blind)
#71A6B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a98de;
/* rgb */ color: rgb(138, 152, 222);
/* oklch */ color: oklch(69.6% 0.104 274.7);
Tailwind
colors: {
  custom: {
    50: '#afb6e8',
    500: '#8a98de',
    950: '#000000',
  },
}
SCSS
$custom: #8a98de;
$custom-light: #afb6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98de",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 230,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69634,
    "c": 0.10417,
    "h": 274.7
  },
  "luminance": 0.33134
}

Semantic roles & 50–950 ramp

primary
#8A98DE
secondary
#EDEAD6
accent
#A922C4
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A98DE

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

Preview Lab → · Contrast checker → · Palette generator →

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