#8A98F6#8A98F6

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

Color values

HEX#8A98F6
RGBrgb(138, 152, 246)
HSLhsl(232, 86%, 75%)
HSVhsv(232, 44%, 96%)
CMYKcmyk(43.9%, 38.2%, 0%, 3.5%)
CIE-LABlab(65.37, 18.72, -48.66)
CIE-LCHlch(65.37, 52.14, 291.04°)
OKLaboklab(70.84% 0.0141 -0.1372)
OKLCHoklch(70.84% 0.138 275.9)
XYZxyz(38.3389, 34.5116, 91.8122)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98F6 #F6E88A
analogous
#8ACEF6 #8A98F6 #B28AF6
triadic
#8A98F6 #F68A98 #98F68A
tetradic
#8A98F6 #F68ACE #F6E88A #8AF6B2
square
#8A98F6 #F68ACE #F6E88A #8AF6B2
split-complementary
#8A98F6 #F6B28A #CEF68A
monochromatic
#1834ED #5166F2 #8A98F6 #C3CAFA #E3E6FD

Accessibility & contrast

On white

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

On black

7.90
#8A98F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98F6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98F6#FFFFFF#000000##000000
##8A98F61.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3FA
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#65ABBB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a98f6;
/* rgb */ color: rgb(138, 152, 246);
/* oklch */ color: oklch(70.8% 0.138 275.9);
Tailwind
colors: {
  custom: {
    50: '#b1b6f9',
    500: '#8a98f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a98f6;
$custom-light: #b1b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98f6",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 246
  },
  "hsl": {
    "h": 232.222,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.13788,
    "h": 275.9
  },
  "luminance": 0.34514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A98F6

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

Preview Lab → · Contrast checker → · Palette generator →

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