#8A8BFC#8A8BFC

#8A8BFC is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.7% C 0.163 H 280.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A8BFC
RGBrgb(138, 139, 252)
HSLhsl(239, 95%, 76%)
HSVhsv(239, 45%, 99%)
CMYKcmyk(45.2%, 44.8%, 0%, 1.2%)
CIE-LABlab(62.42, 27.99, -56.62)
CIE-LCHlch(62.42, 63.16, 296.30°)
OKLaboklab(68.69% 0.0307 -0.1605)
OKLCHoklch(68.69% 0.163 280.8)
XYZxyz(37.2793, 30.8950, 96.0756)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BFC #FCFB8A
analogous
#8AC4FC #8A8BFC #C28AFC
triadic
#8A8BFC #FC8A8B #8BFC8A
tetradic
#8A8BFC #FC8AC4 #FCFB8A #8AFCC2
square
#8A8BFC #FC8AC4 #FCFB8A #8AFCC2
split-complementary
#8A8BFC #FCC28A #C4FC8A
monochromatic
#1315F9 #4E50FA #8A8BFC #C6C6FE #E1E1FE

Accessibility & contrast

On white

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

On black

7.18
#8A8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BFC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BFC#FFFFFF#000000##000000
##8A8BFC1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#63A3B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8bfc;
/* rgb */ color: rgb(138, 139, 252);
/* oklch */ color: oklch(68.7% 0.163 280.8);
Tailwind
colors: {
  custom: {
    50: '#b2acfe',
    500: '#8a8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bfc;
$custom-light: #b2acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bfc",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 239.474,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.68691,
    "c": 0.1634,
    "h": 280.8
  },
  "luminance": 0.30897
}

Semantic roles & 50–950 ramp

primary
#8A8BFC
secondary
#F6F6D5
accent
#E300E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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