#8A8CF4#8A8CF4

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

Color values

HEX#8A8CF4
RGBrgb(138, 140, 244)
HSLhsl(239, 83%, 75%)
HSVhsv(239, 43%, 96%)
CMYKcmyk(43.4%, 42.6%, 0%, 4.3%)
CIE-LABlab(62.24, 25.12, -52.51)
CIE-LCHlch(62.24, 58.20, 295.56°)
OKLaboklab(68.42% 0.0283 -0.1484)
OKLCHoklch(68.42% 0.151 280.8)
XYZxyz(36.1836, 30.6894, 89.5875)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CF4 #F4F28A
analogous
#8AC1F4 #8A8CF4 #BD8AF4
triadic
#8A8CF4 #F48A8C #8CF48A
tetradic
#8A8CF4 #F48AC1 #F4F28A #8AF4BD
square
#8A8CF4 #F48AC1 #F4F28A #8AF4BD
split-complementary
#8A8CF4 #F4BD8A #C1F48A
monochromatic
#1A1EE9 #5255EF #8A8CF4 #C2C3F9 #E3E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8CF4#FFFFFF#000000##000000
##8A8CF41.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)
#659AF8
Deuteranopia (green-blind)
#5E93F2
Tritanopia (blue-blind)
#68A1B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8cf4;
/* rgb */ color: rgb(138, 140, 244);
/* oklch */ color: oklch(68.4% 0.151 280.8);
Tailwind
colors: {
  custom: {
    50: '#b1adf8',
    500: '#8a8cf4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cf4;
$custom-light: #b1adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cf4",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 238.868,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68422,
    "c": 0.15111,
    "h": 280.8
  },
  "luminance": 0.30691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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