#8A98CA#8A98CA

#8A98CA is a light, moderate blue. Relative luminance 0.321; OKLCH L 68.7% C 0.076 H 272.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8A98CA
RGBrgb(138, 152, 202)
HSLhsl(227, 38%, 67%)
HSVhsv(227, 32%, 79%)
CMYKcmyk(31.7%, 24.8%, 0%, 20.8%)
CIE-LABlab(63.44, 6.73, -27.32)
CIE-LCHlch(63.44, 28.14, 283.83°)
OKLaboklab(68.72% 0.0029 -0.0756)
OKLCHoklch(68.72% 0.076 272.2)
XYZxyz(32.3671, 32.1229, 60.3606)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98CA #CABC8A
analogous
#8AB8CA #8A98CA #9C8ACA
triadic
#8A98CA #CA8A98 #98CA8A
tetradic
#8A98CA #CA8AB8 #CABC8A #8ACA9C
square
#8A98CA #CA8AB8 #CABC8A #8ACA9C
split-complementary
#8A98CA #CA9C8A #B8CA8A
monochromatic
#445696 #6073B7 #8A98CA #B4BDDD #DEE2F0

Accessibility & contrast

On white

2.83
#8A98CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#8A98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98CA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98CA#FFFFFF#000000##000000
##8A98CA1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#899CCC
Deuteranopia (green-blind)
#8497C9
Tritanopia (blue-blind)
#78A2A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a98ca;
/* rgb */ color: rgb(138, 152, 202);
/* oklch */ color: oklch(68.7% 0.076 272.2);
Tailwind
colors: {
  custom: {
    50: '#adb6da',
    500: '#8a98ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a98ca;
$custom-light: #adb6da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98ca",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 226.875,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68723,
    "c": 0.07564,
    "h": 272.2
  },
  "luminance": 0.32124
}

Semantic roles & 50–950 ramp

primary
#8A98CA
secondary
#E2DECE
accent
#9635B1
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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