#8A98FC#8A98FC

#8A98FC is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.2% C 0.146 H 276.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A98FC
RGBrgb(138, 152, 252)
HSLhsl(233, 95%, 76%)
HSVhsv(233, 45%, 99%)
CMYKcmyk(45.2%, 39.7%, 0%, 1.2%)
CIE-LABlab(65.66, 20.43, -51.48)
CIE-LCHlch(65.66, 55.39, 291.65°)
OKLaboklab(71.16% 0.0153 -0.1454)
OKLCHoklch(71.16% 0.146 276)
XYZxyz(39.2748, 34.8859, 96.7408)
Luminance0.3489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98FC #FCEE8A
analogous
#8AD1FC #8A98FC #B58AFC
triadic
#8A98FC #FC8A98 #98FC8A
tetradic
#8A98FC #FC8AD1 #FCEE8A #8AFCB5
square
#8A98FC #FC8AD1 #FCEE8A #8AFCB5
split-complementary
#8A98FC #FCB58A #D1FC8A
monochromatic
#132FF9 #4E63FA #8A98FC #C6CDFE #E1E5FE

Accessibility & contrast

On white

2.63
#8A98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#8A98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98FC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98FC#FFFFFF#000000##000000
##8A98FC1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#62ADBE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a98fc;
/* rgb */ color: rgb(138, 152, 252);
/* oklch */ color: oklch(71.2% 0.146 276.0);
Tailwind
colors: {
  custom: {
    50: '#b1b6fe',
    500: '#8a98fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a98fc;
$custom-light: #b1b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98fc",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 232.632,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71161,
    "c": 0.14618,
    "h": 276
  },
  "luminance": 0.34888
}

Semantic roles & 50–950 ramp

primary
#8A98FC
secondary
#F6F2D5
accent
#C900E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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