#8A8FDF#8A8FDF

#8A8FDF is a light, moderate blue. Relative luminance 0.304; OKLCH L 67.9% C 0.118 H 280.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8A8FDF
RGBrgb(138, 143, 223)
HSLhsl(236, 57%, 71%)
HSVhsv(236, 38%, 87%)
CMYKcmyk(38.1%, 35.9%, 0%, 12.5%)
CIE-LABlab(61.98, 17.50, -41.31)
CIE-LCHlch(61.98, 44.87, 292.96°)
OKLaboklab(67.88% 0.0205 -0.1158)
OKLCHoklch(67.88% 0.118 280)
XYZxyz(33.6191, 30.3746, 73.8892)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FDF #DFDA8A
analogous
#8AB9DF #8A8FDF #AF8ADF
triadic
#8A8FDF #DF8A8F #8FDF8A
tetradic
#8A8FDF #DF8AB9 #DFDA8A #8ADFAF
square
#8A8FDF #DF8AB9 #DFDA8A #8ADFAF
split-complementary
#8A8FDF #DFAF8A #B9DF8A
monochromatic
#333BBB #5A61D2 #8A8FDF #BABDEC #E7E8F8

Accessibility & contrast

On white

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

On black

7.08
#8A8FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FDF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FDF#FFFFFF#000000##000000
##8A8FDF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#7093DD
Tritanopia (blue-blind)
#719FAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8fdf;
/* rgb */ color: rgb(138, 143, 223);
/* oklch */ color: oklch(67.9% 0.118 280.0);
Tailwind
colors: {
  custom: {
    50: '#afafe9',
    500: '#8a8fdf',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fdf;
$custom-light: #afafe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fdf",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 236.471,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67881,
    "c": 0.11761,
    "h": 280
  },
  "luminance": 0.30376
}

Semantic roles & 50–950 ramp

primary
#8A8FDF
secondary
#EEECD7
accent
#BB21C5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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