#8A98EA#8A98EA

#8A98EA is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.2% C 0.121 H 275.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8A98EA
RGBrgb(138, 152, 234)
HSLhsl(231, 70%, 73%)
HSVhsv(231, 41%, 92%)
CMYKcmyk(41%, 35%, 0%, 8.2%)
CIE-LABlab(64.80, 15.33, -42.96)
CIE-LCHlch(64.80, 45.61, 289.64°)
OKLaboklab(70.22% 0.0115 -0.1206)
OKLCHoklch(70.22% 0.121 275.5)
XYZxyz(36.5563, 33.7986, 82.4235)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98EA #EADC8A
analogous
#8AC8EA #8A98EA #AC8AEA
triadic
#8A98EA #EA8A98 #98EA8A
tetradic
#8A98EA #EA8AC8 #EADC8A #8AEAAC
square
#8A98EA #EA8AC8 #EADC8A #8AEAAC
split-complementary
#8A98EA #EAAC8A #C8EA8A
monochromatic
#263FD4 #566AE1 #8A98EA #BEC6F3 #E5E8FA

Accessibility & contrast

On white

2.71
#8A98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#8A98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98EA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98EA#FFFFFF#000000##000000
##8A98EA1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA1ED
Deuteranopia (green-blind)
#749AE8
Tritanopia (blue-blind)
#6BA8B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a98ea;
/* rgb */ color: rgb(138, 152, 234);
/* oklch */ color: oklch(70.2% 0.121 275.5);
Tailwind
colors: {
  custom: {
    50: '#b0b6f1',
    500: '#8a98ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a98ea;
$custom-light: #b0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98ea",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 231.25,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70222,
    "c": 0.12113,
    "h": 275.5
  },
  "luminance": 0.338
}

Semantic roles & 50–950 ramp

primary
#8A98EA
secondary
#F2EED9
accent
#B614D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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