#8A98F5#8A98F5

#8A98F5 is a light, vivid blue. Relative luminance 0.345; OKLCH L 70.8% C 0.137 H 275.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8A98F5
RGBrgb(138, 152, 245)
HSLhsl(232, 84%, 75%)
HSVhsv(232, 44%, 96%)
CMYKcmyk(43.7%, 38%, 0%, 3.9%)
CIE-LABlab(65.32, 18.43, -48.19)
CIE-LCHlch(65.32, 51.59, 290.93°)
OKLaboklab(70.79% 0.0139 -0.1358)
OKLCHoklch(70.79% 0.137 275.9)
XYZxyz(38.1859, 34.4504, 91.0060)
Luminance0.3445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98F5 #F5E78A
analogous
#8ACDF5 #8A98F5 #B28AF5
triadic
#8A98F5 #F58A98 #98F58A
tetradic
#8A98F5 #F58ACD #F5E78A #8AF5B2
square
#8A98F5 #F58ACD #F5E78A #8AF5B2
split-complementary
#8A98F5 #F5B28A #CDF58A
monochromatic
#1935EB #5266F0 #8A98F5 #C2CAFA #E3E6FD

Accessibility & contrast

On white

2.66
#8A98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#8A98F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98F5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98F5#FFFFFF#000000##000000
##8A98F51.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3F9
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#66ABBB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a98f5;
/* rgb */ color: rgb(138, 152, 245);
/* oklch */ color: oklch(70.8% 0.137 275.9);
Tailwind
colors: {
  custom: {
    50: '#b1b6f9',
    500: '#8a98f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a98f5;
$custom-light: #b1b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98f5",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 232.15,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70788,
    "c": 0.1365,
    "h": 275.9
  },
  "luminance": 0.34452
}

Semantic roles & 50–950 ramp

primary
#8A98F5
secondary
#F5F1D6
accent
#C405E1
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A98F5

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

Preview Lab → · Contrast checker → · Palette generator →

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