#8A8CFD#8A8CFD

#8A8CFD is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.9% C 0.163 H 280.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8A8CFD
RGBrgb(138, 140, 253)
HSLhsl(239, 97%, 77%)
HSVhsv(239, 45%, 99%)
CMYKcmyk(45.5%, 44.7%, 0%, 0.8%)
CIE-LABlab(62.72, 27.69, -56.70)
CIE-LCHlch(62.72, 63.10, 296.03°)
OKLaboklab(68.94% 0.0296 -0.1607)
OKLCHoklch(68.94% 0.163 280.4)
XYZxyz(37.5836, 31.2494, 96.9609)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CFD #FDFB8A
analogous
#8AC5FD #8A8CFD #C28AFD
triadic
#8A8CFD #FD8A8C #8CFD8A
tetradic
#8A8CFD #FD8AC5 #FDFB8A #8AFDC2
square
#8A8CFD #FD8AC5 #FDFB8A #8AFDC2
split-complementary
#8A8CFD #FDC28A #C5FD8A
monochromatic
#1216FB #4E51FC #8A8CFD #C6C7FE #E1E1FE

Accessibility & contrast

On white

2.90
#8A8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#8A8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8CFD
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CFD#FFFFFF#000000##000000
##8A8CFD1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#5794FA
Tritanopia (blue-blind)
#62A4B8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8cfd;
/* rgb */ color: rgb(138, 140, 253);
/* oklch */ color: oklch(68.9% 0.163 280.4);
Tailwind
colors: {
  custom: {
    50: '#b2adfe',
    500: '#8a8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cfd;
$custom-light: #b2adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cfd",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 238.957,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.68935,
    "c": 0.16342,
    "h": 280.4
  },
  "luminance": 0.31251
}

Semantic roles & 50–950 ramp

primary
#8A8CFD
secondary
#F7F6D4
accent
#E200E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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