#8A98F2#8A98F2

#8A98F2 is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.6% C 0.132 H 275.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8A98F2
RGBrgb(138, 152, 242)
HSLhsl(232, 80%, 75%)
HSVhsv(232, 43%, 95%)
CMYKcmyk(43%, 37.2%, 0%, 5.1%)
CIE-LABlab(65.18, 17.58, -46.77)
CIE-LCHlch(65.18, 49.97, 290.60°)
OKLaboklab(70.63% 0.0133 -0.1316)
OKLCHoklch(70.63% 0.132 275.8)
XYZxyz(37.7316, 34.2687, 88.6136)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98F2 #F2E48A
analogous
#8ACCF2 #8A98F2 #B08AF2
triadic
#8A98F2 #F28A98 #98F28A
tetradic
#8A98F2 #F28ACC #F2E48A #8AF2B0
square
#8A98F2 #F28ACC #F2E48A #8AF2B0
split-complementary
#8A98F2 #F2B08A #CCF28A
monochromatic
#1C37E6 #5368EC #8A98F2 #C1C8F8 #E3E7FC

Accessibility & contrast

On white

2.67
#8A98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#8A98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98F2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98F2#FFFFFF#000000##000000
##8A98F21.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#709AF0
Tritanopia (blue-blind)
#67AABA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a98f2;
/* rgb */ color: rgb(138, 152, 242);
/* oklch */ color: oklch(70.6% 0.132 275.8);
Tailwind
colors: {
  custom: {
    50: '#b0b6f7',
    500: '#8a98f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a98f2;
$custom-light: #b0b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98f2",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 231.923,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70631,
    "c": 0.13232,
    "h": 275.8
  },
  "luminance": 0.34271
}

Semantic roles & 50–950 ramp

primary
#8A98F2
secondary
#F4F0D7
accent
#C009DC
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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