#8A8FDD#8A8FDD

#8A8FDD is a light, moderate blue. Relative luminance 0.303; OKLCH L 67.8% C 0.115 H 280.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8A8FDD
RGBrgb(138, 143, 221)
HSLhsl(236, 55%, 70%)
HSVhsv(236, 38%, 87%)
CMYKcmyk(37.6%, 35.3%, 0%, 13.3%)
CIE-LABlab(61.88, 16.96, -40.34)
CIE-LCHlch(61.88, 43.76, 292.80°)
OKLaboklab(67.78% 0.02 -0.113)
OKLCHoklch(67.78% 0.115 280.1)
XYZxyz(33.3511, 30.2674, 72.4775)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FDD #DDD88A
analogous
#8AB8DD #8A8FDD #AF8ADD
triadic
#8A8FDD #DD8A8F #8FDD8A
tetradic
#8A8FDD #DD8AB8 #DDD88A #8ADDAF
square
#8A8FDD #DD8AB8 #DDD88A #8ADDAF
split-complementary
#8A8FDD #DDAF8A #B8DD8A
monochromatic
#353DB7 #5B62CF #8A8FDD #B9BCEB #E7E8F8

Accessibility & contrast

On white

2.98
#8A8FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#8A8FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FDD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FDD#FFFFFF#000000##000000
##8A8FDD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E0
Deuteranopia (green-blind)
#7193DB
Tritanopia (blue-blind)
#729EAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8fdd;
/* rgb */ color: rgb(138, 143, 221);
/* oklch */ color: oklch(67.8% 0.115 280.1);
Tailwind
colors: {
  custom: {
    50: '#afafe8',
    500: '#8a8fdd',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fdd;
$custom-light: #afafe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fdd",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 221
  },
  "hsl": {
    "h": 236.386,
    "s": 54.967,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67781,
    "c": 0.11477,
    "h": 280.1
  },
  "luminance": 0.30269
}

Semantic roles & 50–950 ramp

primary
#8A8FDD
secondary
#EDEBD6
accent
#B923C2
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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