#8A8DF4#8A8DF4

#8A8DF4 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.6% C 0.150 H 280.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8A8DF4
RGBrgb(138, 141, 244)
HSLhsl(238, 83%, 75%)
HSVhsv(238, 43%, 96%)
CMYKcmyk(43.4%, 42.2%, 0%, 4.3%)
CIE-LABlab(62.49, 24.53, -52.11)
CIE-LCHlch(62.49, 57.60, 295.21°)
OKLaboklab(68.61% 0.0271 -0.1473)
OKLCHoklch(68.61% 0.15 280.4)
XYZxyz(36.3304, 30.9830, 89.6364)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DF4 #F4F18A
analogous
#8AC2F4 #8A8DF4 #BC8AF4
triadic
#8A8DF4 #F48A8D #8DF48A
tetradic
#8A8DF4 #F48AC2 #F4F18A #8AF4BC
square
#8A8DF4 #F48AC2 #F4F18A #8AF4BC
split-complementary
#8A8DF4 #F4BC8A #C2F48A
monochromatic
#1A20E9 #5256EF #8A8DF4 #C2C4F9 #E3E4FC

Accessibility & contrast

On white

2.92
#8A8DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#8A8DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DF4
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DF4#FFFFFF#000000##000000
##8A8DF41.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF8
Deuteranopia (green-blind)
#6093F2
Tritanopia (blue-blind)
#67A2B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8df4;
/* rgb */ color: rgb(138, 141, 244);
/* oklch */ color: oklch(68.6% 0.150 280.4);
Tailwind
colors: {
  custom: {
    50: '#b1aef8',
    500: '#8a8df4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8df4;
$custom-light: #b1aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8df4",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 238.302,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68611,
    "c": 0.14975,
    "h": 280.4
  },
  "luminance": 0.30985
}

Semantic roles & 50–950 ramp

primary
#8A8DF4
secondary
#F4F3D7
accent
#D906DF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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