#8A98F0#8A98F0

#8A98F0 is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.5% C 0.130 H 275.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8A98F0
RGBrgb(138, 152, 240)
HSLhsl(232, 77%, 74%)
HSVhsv(232, 43%, 94%)
CMYKcmyk(42.5%, 36.7%, 0%, 5.9%)
CIE-LABlab(65.08, 17.01, -45.82)
CIE-LCHlch(65.08, 48.88, 290.37°)
OKLaboklab(70.53% 0.0129 -0.1289)
OKLCHoklch(70.53% 0.13 275.7)
XYZxyz(37.4329, 34.1492, 87.0402)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98F0 #F0E28A
analogous
#8ACBF0 #8A98F0 #AF8AF0
triadic
#8A98F0 #F08A98 #98F08A
tetradic
#8A98F0 #F08ACB #F0E28A #8AF0AF
square
#8A98F0 #F08ACB #F0E28A #8AF0AF
split-complementary
#8A98F0 #F0AF8A #CBF08A
monochromatic
#1E38E2 #5468E9 #8A98F0 #C0C8F7 #E4E7FC

Accessibility & contrast

On white

2.68
#8A98F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#8A98F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98F0
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98F0#FFFFFF#000000##000000
##8A98F01.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F4
Deuteranopia (green-blind)
#719AEE
Tritanopia (blue-blind)
#68AAB9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a98f0;
/* rgb */ color: rgb(138, 152, 240);
/* oklch */ color: oklch(70.5% 0.130 275.7);
Tailwind
colors: {
  custom: {
    50: '#b0b6f5',
    500: '#8a98f0',
    950: '#000000',
  },
}
SCSS
$custom: #8a98f0;
$custom-light: #b0b6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98f0",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 240
  },
  "hsl": {
    "h": 231.765,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70528,
    "c": 0.12953,
    "h": 275.7
  },
  "luminance": 0.34151
}

Semantic roles & 50–950 ramp

primary
#8A98F0
secondary
#F3F0D8
accent
#BD0CDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A98F0

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

Preview Lab → · Contrast checker → · Palette generator →

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