#8A98FF#8A98FF

#8A98FF is a light, vivid blue. Relative luminance 0.351; OKLCH L 71.3% C 0.150 H 276.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8A98FF
RGBrgb(138, 152, 255)
HSLhsl(233, 100%, 77%)
HSVhsv(233, 46%, 100%)
CMYKcmyk(45.9%, 40.4%, 0%, 0%)
CIE-LABlab(65.81, 21.30, -52.88)
CIE-LCHlch(65.81, 57.01, 291.94°)
OKLaboklab(71.32% 0.0158 -0.1495)
OKLCHoklch(71.32% 0.15 276)
XYZxyz(39.7539, 35.0776, 99.2643)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98FF #FFF18A
analogous
#8AD2FF #8A98FF #B78AFF
triadic
#8A98FF #FF8A98 #98FF8A
tetradic
#8A98FF #FF8AD2 #FFF18A #8AFFB7
square
#8A98FF #FF8AD2 #FFF18A #8AFFB7
split-complementary
#8A98FF #FFB78A #D2FF8A
monochromatic
#102CFF #4D62FF #8A98FF #C7CEFF #E0E4FF

Accessibility & contrast

On white

2.62
#8A98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#8A98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98FF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98FF#FFFFFF#000000##000000
##8A98FF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A5FF
Deuteranopia (green-blind)
#679BFD
Tritanopia (blue-blind)
#60ADBF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8a98ff;
/* rgb */ color: rgb(138, 152, 255);
/* oklch */ color: oklch(71.3% 0.150 276.0);
Tailwind
colors: {
  custom: {
    50: '#b2b6ff',
    500: '#8a98ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a98ff;
$custom-light: #b2b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98ff",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 232.821,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71324,
    "c": 0.15031,
    "h": 276
  },
  "luminance": 0.3508
}

Semantic roles & 50–950 ramp

primary
#8A98FF
secondary
#F7F3D4
accent
#CA00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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