#8A8BF0#8A8BF0

#8A8BF0 is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.0% C 0.147 H 281.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A8BF0
RGBrgb(138, 139, 240)
HSLhsl(239, 77%, 74%)
HSVhsv(239, 43%, 94%)
CMYKcmyk(42.5%, 42.1%, 0%, 5.9%)
CIE-LABlab(61.79, 24.57, -51.02)
CIE-LCHlch(61.79, 56.63, 295.71°)
OKLaboklab(68.01% 0.0289 -0.1441)
OKLCHoklch(68.01% 0.147 281.3)
XYZxyz(35.4374, 30.1582, 86.3751)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BF0 #F0EF8A
analogous
#8ABEF0 #8A8BF0 #BC8AF0
triadic
#8A8BF0 #F08A8B #8BF08A
tetradic
#8A8BF0 #F08ABE #F0EF8A #8AF0BC
square
#8A8BF0 #F08ABE #F0EF8A #8AF0BC
split-complementary
#8A8BF0 #F0BC8A #BEF08A
monochromatic
#1E1FE2 #5455E9 #8A8BF0 #C0C1F7 #E4E4FC

Accessibility & contrast

On white

2.99
#8A8BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8A8BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BF0
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BF0#FFFFFF#000000##000000
##8A8BF01.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#6092EE
Tritanopia (blue-blind)
#6A9FB2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8bf0;
/* rgb */ color: rgb(138, 139, 240);
/* oklch */ color: oklch(68.0% 0.147 281.3);
Tailwind
colors: {
  custom: {
    50: '#b1acf5',
    500: '#8a8bf0',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bf0;
$custom-light: #b1acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bf0",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 239.412,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.6801,
    "c": 0.14696,
    "h": 281.3
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#8A8BF0
secondary
#F3F3D8
accent
#D70CDA
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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