#8A8FDE#8A8FDE

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

Color values

HEX#8A8FDE
RGBrgb(138, 143, 222)
HSLhsl(236, 56%, 71%)
HSVhsv(236, 38%, 87%)
CMYKcmyk(37.8%, 35.6%, 0%, 12.9%)
CIE-LABlab(61.93, 17.23, -40.83)
CIE-LCHlch(61.93, 44.31, 292.88°)
OKLaboklab(67.83% 0.0203 -0.1144)
OKLCHoklch(67.83% 0.116 280.1)
XYZxyz(33.4847, 30.3208, 73.1813)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FDE #DED98A
analogous
#8AB9DE #8A8FDE #AF8ADE
triadic
#8A8FDE #DE8A8F #8FDE8A
tetradic
#8A8FDE #DE8AB9 #DED98A #8ADEAF
square
#8A8FDE #DE8AB9 #DED98A #8ADEAF
split-complementary
#8A8FDE #DEAF8A #B9DE8A
monochromatic
#343CB9 #5A61D1 #8A8FDE #BABDEB #E7E8F8

Accessibility & contrast

On white

2.97
#8A8FDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8A8FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FDE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FDE#FFFFFF#000000##000000
##8A8FDE1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E1
Deuteranopia (green-blind)
#7093DC
Tritanopia (blue-blind)
#729EAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8fde;
/* rgb */ color: rgb(138, 143, 222);
/* oklch */ color: oklch(67.8% 0.116 280.1);
Tailwind
colors: {
  custom: {
    50: '#afafe8',
    500: '#8a8fde',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fde;
$custom-light: #afafe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fde",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 222
  },
  "hsl": {
    "h": 236.429,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67831,
    "c": 0.11619,
    "h": 280.1
  },
  "luminance": 0.30322
}

Semantic roles & 50–950 ramp

primary
#8A8FDE
secondary
#EDECD6
accent
#BA22C4
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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