#8A8DF5#8A8DF5

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

Color values

HEX#8A8DF5
RGBrgb(138, 141, 245)
HSLhsl(238, 84%, 75%)
HSVhsv(238, 44%, 96%)
CMYKcmyk(43.7%, 42.4%, 0%, 3.9%)
CIE-LABlab(62.54, 24.82, -52.58)
CIE-LCHlch(62.54, 58.14, 295.27°)
OKLaboklab(68.67% 0.0272 -0.1486)
OKLCHoklch(68.67% 0.151 280.4)
XYZxyz(36.4826, 31.0439, 90.4383)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DF5 #F5F28A
analogous
#8AC2F5 #8A8DF5 #BD8AF5
triadic
#8A8DF5 #F58A8D #8DF58A
tetradic
#8A8DF5 #F58AC2 #F5F28A #8AF5BD
square
#8A8DF5 #F58AC2 #F5F28A #8AF5BD
split-complementary
#8A8DF5 #F5BD8A #C2F58A
monochromatic
#191FEB #5256F0 #8A8DF5 #C2C4FA #E3E4FD

Accessibility & contrast

On white

2.91
#8A8DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#8A8DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DF5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DF5#FFFFFF#000000##000000
##8A8DF51.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF9
Deuteranopia (green-blind)
#5F93F3
Tritanopia (blue-blind)
#67A2B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8df5;
/* rgb */ color: rgb(138, 141, 245);
/* oklch */ color: oklch(68.7% 0.151 280.4);
Tailwind
colors: {
  custom: {
    50: '#b1aef9',
    500: '#8a8df5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8df5;
$custom-light: #b1aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8df5",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 238.318,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68667,
    "c": 0.15113,
    "h": 280.4
  },
  "luminance": 0.31046
}

Semantic roles & 50–950 ramp

primary
#8A8DF5
secondary
#F5F4D6
accent
#DB05E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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