#8A8BF2#8A8BF2

#8A8BF2 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.1% C 0.150 H 281.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A8BF2
RGBrgb(138, 139, 242)
HSLhsl(239, 80%, 75%)
HSVhsv(239, 43%, 95%)
CMYKcmyk(43%, 42.6%, 0%, 5.1%)
CIE-LABlab(61.89, 25.13, -51.96)
CIE-LCHlch(61.89, 57.72, 295.81°)
OKLaboklab(68.12% 0.0292 -0.1468)
OKLCHoklch(68.12% 0.15 281.2)
XYZxyz(35.7361, 30.2777, 87.9484)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BF2 #F2F18A
analogous
#8ABFF2 #8A8BF2 #BD8AF2
triadic
#8A8BF2 #F28A8B #8BF28A
tetradic
#8A8BF2 #F28ABF #F2F18A #8AF2BD
square
#8A8BF2 #F28ABF #F2F18A #8AF2BD
split-complementary
#8A8BF2 #F2BD8A #BFF28A
monochromatic
#1C1EE6 #5354EC #8A8BF2 #C1C2F8 #E3E4FC

Accessibility & contrast

On white

2.98
#8A8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8A8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BF2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BF2#FFFFFF#000000##000000
##8A8BF21.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#5E92F0
Tritanopia (blue-blind)
#69A0B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8bf2;
/* rgb */ color: rgb(138, 139, 242);
/* oklch */ color: oklch(68.1% 0.150 281.2);
Tailwind
colors: {
  custom: {
    50: '#b1acf7',
    500: '#8a8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bf2;
$custom-light: #b1acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bf2",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 239.423,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68121,
    "c": 0.14972,
    "h": 281.2
  },
  "luminance": 0.30279
}

Semantic roles & 50–950 ramp

primary
#8A8BF2
secondary
#F4F4D7
accent
#DA09DC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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