#8A98EE#8A98EE

#8A98EE is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.4% C 0.127 H 275.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A98EE
RGBrgb(138, 152, 238)
HSLhsl(232, 75%, 74%)
HSVhsv(232, 42%, 93%)
CMYKcmyk(42%, 36.1%, 0%, 6.7%)
CIE-LABlab(64.99, 16.45, -44.87)
CIE-LCHlch(64.99, 47.79, 290.13°)
OKLaboklab(70.43% 0.0124 -0.1261)
OKLCHoklch(70.43% 0.127 275.6)
XYZxyz(37.1374, 34.0310, 85.4842)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98EE #EEE08A
analogous
#8ACAEE #8A98EE #AE8AEE
triadic
#8A98EE #EE8A98 #98EE8A
tetradic
#8A98EE #EE8ACA #EEE08A #8AEEAE
square
#8A98EE #EE8ACA #EEE08A #8AEEAE
split-complementary
#8A98EE #EEAE8A #CAEE8A
monochromatic
#203BDD #5569E6 #8A98EE #BFC7F6 #E4E7FB

Accessibility & contrast

On white

2.69
#8A98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#8A98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98EE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98EE#FFFFFF#000000##000000
##8A98EE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F1
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#69A9B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a98ee;
/* rgb */ color: rgb(138, 152, 238);
/* oklch */ color: oklch(70.4% 0.127 275.6);
Tailwind
colors: {
  custom: {
    50: '#b0b6f4',
    500: '#8a98ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a98ee;
$custom-light: #b0b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98ee",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 231.6,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70425,
    "c": 0.12674,
    "h": 275.6
  },
  "luminance": 0.34033
}

Semantic roles & 50–950 ramp

primary
#8A98EE
secondary
#F3EFD8
accent
#BB0FD7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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