#8A8CF3#8A8CF3

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

Color values

HEX#8A8CF3
RGBrgb(138, 140, 243)
HSLhsl(239, 81%, 75%)
HSVhsv(239, 43%, 95%)
CMYKcmyk(43.2%, 42.4%, 0%, 4.7%)
CIE-LABlab(62.19, 24.83, -52.04)
CIE-LCHlch(62.19, 57.66, 295.51°)
OKLaboklab(68.37% 0.0281 -0.1471)
OKLCHoklch(68.37% 0.15 280.8)
XYZxyz(36.0322, 30.6289, 88.7900)
Luminance0.3063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CF3 #F3F18A
analogous
#8AC1F3 #8A8CF3 #BD8AF3
triadic
#8A8CF3 #F38A8C #8CF38A
tetradic
#8A8CF3 #F38AC1 #F3F18A #8AF3BD
square
#8A8CF3 #F38AC1 #F3F18A #8AF3BD
split-complementary
#8A8CF3 #F3BD8A #C1F38A
monochromatic
#1B1FE8 #5255ED #8A8CF3 #C2C3F9 #E3E4FC

Accessibility & contrast

On white

2.95
#8A8CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#8A8CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8CF3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CF3#FFFFFF#000000##000000
##8A8CF31.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#5F93F1
Tritanopia (blue-blind)
#68A1B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8cf3;
/* rgb */ color: rgb(138, 140, 243);
/* oklch */ color: oklch(68.4% 0.150 280.8);
Tailwind
colors: {
  custom: {
    50: '#b1adf7',
    500: '#8a8cf3',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cf3;
$custom-light: #b1adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cf3",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 238.857,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68366,
    "c": 0.14974,
    "h": 280.8
  },
  "luminance": 0.30631
}

Semantic roles & 50–950 ramp

primary
#8A8CF3
secondary
#F4F3D7
accent
#DA08DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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