#8A98FA#8A98FA

#8A98FA is a light, vivid blue. Relative luminance 0.348; OKLCH L 71.1% C 0.143 H 276.0°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8A98FA
RGBrgb(138, 152, 250)
HSLhsl(233, 92%, 76%)
HSVhsv(233, 45%, 98%)
CMYKcmyk(44.8%, 39.2%, 0%, 2%)
CIE-LABlab(65.56, 19.86, -50.54)
CIE-LCHlch(65.56, 54.30, 291.45°)
OKLaboklab(71.05% 0.0149 -0.1426)
OKLCHoklch(71.05% 0.143 276)
XYZxyz(38.9595, 34.7598, 95.0804)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98FA #FAEC8A
analogous
#8AD0FA #8A98FA #B48AFA
triadic
#8A98FA #FA8A98 #98FA8A
tetradic
#8A98FA #FA8AD0 #FAEC8A #8AFAB4
square
#8A98FA #FA8AD0 #FAEC8A #8AFAB4
split-complementary
#8A98FA #FAB48A #D0FA8A
monochromatic
#1531F5 #4F64F7 #8A98FA #C5CCFD #E2E5FE

Accessibility & contrast

On white

2.64
#8A98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#8A98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98FA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98FA#FFFFFF#000000##000000
##8A98FA1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#6B9BF8
Tritanopia (blue-blind)
#63ACBD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a98fa;
/* rgb */ color: rgb(138, 152, 250);
/* oklch */ color: oklch(71.1% 0.143 276.0);
Tailwind
colors: {
  custom: {
    50: '#b1b6fc',
    500: '#8a98fa',
    950: '#000000',
  },
}
SCSS
$custom: #8a98fa;
$custom-light: #b1b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98fa",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 232.5,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71054,
    "c": 0.14342,
    "h": 276
  },
  "luminance": 0.34762
}

Semantic roles & 50–950 ramp

primary
#8A98FA
secondary
#F6F2D5
accent
#C900E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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