#8A8CF6#8A8CF6

#8A8CF6 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.5% C 0.154 H 280.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A8CF6
RGBrgb(138, 140, 246)
HSLhsl(239, 86%, 75%)
HSVhsv(239, 44%, 96%)
CMYKcmyk(43.9%, 43.1%, 0%, 3.5%)
CIE-LABlab(62.35, 25.69, -53.44)
CIE-LCHlch(62.35, 59.29, 295.67°)
OKLaboklab(68.54% 0.0286 -0.1512)
OKLCHoklch(68.54% 0.154 280.7)
XYZxyz(36.4889, 30.8116, 91.1955)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CF6 #F6F48A
analogous
#8AC2F6 #8A8CF6 #BE8AF6
triadic
#8A8CF6 #F68A8C #8CF68A
tetradic
#8A8CF6 #F68AC2 #F6F48A #8AF6BE
square
#8A8CF6 #F68AC2 #F6F48A #8AF6BE
split-complementary
#8A8CF6 #F6BE8A #C2F68A
monochromatic
#181CED #5154F2 #8A8CF6 #C3C4FA #E3E3FD

Accessibility & contrast

On white

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

On black

7.16
#8A8CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8CF6
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CF6#FFFFFF#000000##000000
##8A8CF61.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#66A2B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8cf6;
/* rgb */ color: rgb(138, 140, 246);
/* oklch */ color: oklch(68.5% 0.154 280.7);
Tailwind
colors: {
  custom: {
    50: '#b1adfa',
    500: '#8a8cf6',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cf6;
$custom-light: #b1adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cf6",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 238.889,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68535,
    "c": 0.15386,
    "h": 280.7
  },
  "luminance": 0.30813
}

Semantic roles & 50–950 ramp

primary
#8A8CF6
secondary
#F5F4D6
accent
#DE03E2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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