#8A98FD#8A98FD

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

Color values

HEX#8A98FD
RGBrgb(138, 152, 253)
HSLhsl(233, 97%, 77%)
HSVhsv(233, 45%, 99%)
CMYKcmyk(45.5%, 39.9%, 0%, 0.8%)
CIE-LABlab(65.71, 20.72, -51.95)
CIE-LCHlch(65.71, 55.93, 291.75°)
OKLaboklab(71.21% 0.0155 -0.1467)
OKLCHoklch(71.21% 0.148 276)
XYZxyz(39.4336, 34.9495, 97.5775)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98FD #FDEF8A
analogous
#8AD2FD #8A98FD #B68AFD
triadic
#8A98FD #FD8A98 #98FD8A
tetradic
#8A98FD #FD8AD2 #FDEF8A #8AFDB6
square
#8A98FD #FD8AD2 #FDEF8A #8AFDB6
split-complementary
#8A98FD #FDB68A #D2FD8A
monochromatic
#122EFB #4E63FC #8A98FD #C6CDFE #E1E5FE

Accessibility & contrast

On white

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

On black

7.99
#8A98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98FD
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98FD#FFFFFF#000000##000000
##8A98FD1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#61ADBE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8a98fd;
/* rgb */ color: rgb(138, 152, 253);
/* oklch */ color: oklch(71.2% 0.148 276.0);
Tailwind
colors: {
  custom: {
    50: '#b1b6fe',
    500: '#8a98fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a98fd;
$custom-light: #b1b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98fd",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 232.696,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71215,
    "c": 0.14755,
    "h": 276
  },
  "luminance": 0.34952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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