#8A8DF2#8A8DF2

#8A8DF2 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.147 H 280.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8A8DF2
RGBrgb(138, 141, 242)
HSLhsl(238, 80%, 75%)
HSVhsv(238, 43%, 95%)
CMYKcmyk(43%, 41.7%, 0%, 5.1%)
CIE-LABlab(62.39, 23.97, -51.17)
CIE-LCHlch(62.39, 56.51, 295.10°)
OKLaboklab(68.5% 0.0268 -0.1445)
OKLCHoklch(68.5% 0.147 280.5)
XYZxyz(36.0284, 30.8622, 88.0458)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DF2 #F2EF8A
analogous
#8AC1F2 #8A8DF2 #BB8AF2
triadic
#8A8DF2 #F28A8D #8DF28A
tetradic
#8A8DF2 #F28AC1 #F2EF8A #8AF2BB
square
#8A8DF2 #F28AC1 #F2EF8A #8AF2BB
split-complementary
#8A8DF2 #F2BB8A #C1F28A
monochromatic
#1C22E6 #5357EC #8A8DF2 #C1C3F8 #E3E4FC

Accessibility & contrast

On white

2.93
#8A8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#8A8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DF2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DF2#FFFFFF#000000##000000
##8A8DF21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#6193F0
Tritanopia (blue-blind)
#69A2B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8df2;
/* rgb */ color: rgb(138, 141, 242);
/* oklch */ color: oklch(68.5% 0.147 280.5);
Tailwind
colors: {
  custom: {
    50: '#b1aef7',
    500: '#8a8df2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8df2;
$custom-light: #b1aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8df2",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 238.269,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.685,
    "c": 0.14698,
    "h": 280.5
  },
  "luminance": 0.30864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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