#8A8BF3#8A8BF3

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

Color values

HEX#8A8BF3
RGBrgb(138, 139, 243)
HSLhsl(239, 81%, 75%)
HSVhsv(239, 43%, 95%)
CMYKcmyk(43.2%, 42.8%, 0%, 4.7%)
CIE-LABlab(61.94, 25.41, -52.43)
CIE-LCHlch(61.94, 58.27, 295.86°)
OKLaboklab(68.18% 0.0293 -0.1482)
OKLCHoklch(68.18% 0.151 281.2)
XYZxyz(35.8867, 30.3380, 88.7416)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BF3 #F3F28A
analogous
#8ABFF3 #8A8BF3 #BE8AF3
triadic
#8A8BF3 #F38A8B #8BF38A
tetradic
#8A8BF3 #F38ABF #F3F28A #8AF3BE
square
#8A8BF3 #F38ABF #F3F28A #8AF3BE
split-complementary
#8A8BF3 #F3BE8A #BFF38A
monochromatic
#1B1DE8 #5254ED #8A8BF3 #C2C2F9 #E3E3FC

Accessibility & contrast

On white

2.97
#8A8BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8A8BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BF3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BF3#FFFFFF#000000##000000
##8A8BF31.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#5E92F1
Tritanopia (blue-blind)
#68A0B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8bf3;
/* rgb */ color: rgb(138, 139, 243);
/* oklch */ color: oklch(68.2% 0.151 281.2);
Tailwind
colors: {
  custom: {
    50: '#b1acf7',
    500: '#8a8bf3',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bf3;
$custom-light: #b1acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bf3",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 239.429,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68177,
    "c": 0.1511,
    "h": 281.2
  },
  "luminance": 0.3034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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