#8A8DEF#8A8DEF

#8A8DEF is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.143 H 280.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8A8DEF
RGBrgb(138, 141, 239)
HSLhsl(238, 76%, 74%)
HSVhsv(238, 42%, 94%)
CMYKcmyk(42.3%, 41%, 0%, 6.3%)
CIE-LABlab(62.24, 23.12, -49.76)
CIE-LCHlch(62.24, 54.87, 294.92°)
OKLaboklab(68.34% 0.0262 -0.1404)
OKLCHoklch(68.34% 0.143 280.6)
XYZxyz(35.5815, 30.6834, 85.6923)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DEF #EFEC8A
analogous
#8AC0EF #8A8DEF #BA8AEF
triadic
#8A8DEF #EF8A8D #8DEF8A
tetradic
#8A8DEF #EF8AC0 #EFEC8A #8AEFBA
square
#8A8DEF #EF8AC0 #EFEC8A #8AEFBA
split-complementary
#8A8DEF #EFBA8A #C0EF8A
monochromatic
#1F24E0 #5459E8 #8A8DEF #C0C1F6 #E4E5FB

Accessibility & contrast

On white

2.94
#8A8DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#8A8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DEF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DEF#FFFFFF#000000##000000
##8A8DEF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#6393ED
Tritanopia (blue-blind)
#6AA1B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8def;
/* rgb */ color: rgb(138, 141, 239);
/* oklch */ color: oklch(68.3% 0.143 280.6);
Tailwind
colors: {
  custom: {
    50: '#b0aef5',
    500: '#8a8def',
    950: '#000000',
  },
}
SCSS
$custom: #8a8def;
$custom-light: #b0aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8def",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 238.218,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.14283,
    "h": 280.6
  },
  "luminance": 0.30685
}

Semantic roles & 50–950 ramp

primary
#8A8DEF
secondary
#F3F2D8
accent
#D20DD8
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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