#8A98DD#8A98DD

#8A98DD is a light, moderate blue. Relative luminance 0.331; OKLCH L 69.6% C 0.103 H 274.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8A98DD
RGBrgb(138, 152, 221)
HSLhsl(230, 55%, 70%)
HSVhsv(230, 38%, 87%)
CMYKcmyk(37.6%, 31.2%, 0%, 13.3%)
CIE-LABlab(64.22, 11.75, -36.68)
CIE-LCHlch(64.22, 38.52, 287.77°)
OKLaboklab(69.59% 0.0083 -0.1024)
OKLCHoklch(69.59% 0.103 274.6)
XYZxyz(34.7568, 33.0787, 72.9461)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98DD #DDCF8A
analogous
#8AC1DD #8A98DD #A68ADD
triadic
#8A98DD #DD8A98 #98DD8A
tetradic
#8A98DD #DD8AC1 #DDCF8A #8ADDA6
square
#8A98DD #DD8AC1 #DDCF8A #8ADDA6
split-complementary
#8A98DD #DDA68A #C1DD8A
monochromatic
#354BB7 #5B6ECF #8A98DD #B9C2EB #E7EAF8

Accessibility & contrast

On white

2.76
#8A98DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#8A98DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98DD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98DD#FFFFFF#000000##000000
##8A98DD1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#819FE0
Deuteranopia (green-blind)
#7B99DB
Tritanopia (blue-blind)
#71A6B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a98dd;
/* rgb */ color: rgb(138, 152, 221);
/* oklch */ color: oklch(69.6% 0.103 274.6);
Tailwind
colors: {
  custom: {
    50: '#afb6e8',
    500: '#8a98dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a98dd;
$custom-light: #afb6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98dd",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 229.88,
    "s": 54.967,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69586,
    "c": 0.10276,
    "h": 274.6
  },
  "luminance": 0.3308
}

Semantic roles & 50–950 ramp

primary
#8A98DD
secondary
#EDE9D6
accent
#A823C2
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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