#8A98F4#8A98F4

#8A98F4 is a light, vivid blue. Relative luminance 0.344; OKLCH L 70.7% C 0.135 H 275.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A98F4
RGBrgb(138, 152, 244)
HSLhsl(232, 83%, 75%)
HSVhsv(232, 43%, 96%)
CMYKcmyk(43.4%, 37.7%, 0%, 4.3%)
CIE-LABlab(65.27, 18.15, -47.72)
CIE-LCHlch(65.27, 51.05, 290.82°)
OKLaboklab(70.74% 0.0137 -0.1344)
OKLCHoklch(70.74% 0.135 275.8)
XYZxyz(38.0336, 34.3895, 90.2042)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98F4 #F4E68A
analogous
#8ACDF4 #8A98F4 #B18AF4
triadic
#8A98F4 #F48A98 #98F48A
tetradic
#8A98F4 #F48ACD #F4E68A #8AF4B1
square
#8A98F4 #F48ACD #F4E68A #8AF4B1
split-complementary
#8A98F4 #F4B18A #CDF48A
monochromatic
#1A36E9 #5267EF #8A98F4 #C2C9F9 #E3E6FC

Accessibility & contrast

On white

2.67
#8A98F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#8A98F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98F4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98F4#FFFFFF#000000##000000
##8A98F41.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A3F8
Deuteranopia (green-blind)
#6E9AF2
Tritanopia (blue-blind)
#66ABBA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a98f4;
/* rgb */ color: rgb(138, 152, 244);
/* oklch */ color: oklch(70.7% 0.135 275.8);
Tailwind
colors: {
  custom: {
    50: '#b1b6f8',
    500: '#8a98f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a98f4;
$custom-light: #b1b6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98f4",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 244
  },
  "hsl": {
    "h": 232.075,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70736,
    "c": 0.13511,
    "h": 275.8
  },
  "luminance": 0.34391
}

Semantic roles & 50–950 ramp

primary
#8A98F4
secondary
#F4F0D7
accent
#C306DF
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A98F4

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

Preview Lab → · Contrast checker → · Palette generator →

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