#8A8BFA#8A8BFA

#8A8BFA is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.6% C 0.161 H 280.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8A8BFA
RGBrgb(138, 139, 250)
HSLhsl(239, 92%, 76%)
HSVhsv(239, 45%, 98%)
CMYKcmyk(44.8%, 44.4%, 0%, 2%)
CIE-LABlab(62.31, 27.41, -55.70)
CIE-LCHlch(62.31, 62.08, 296.20°)
OKLaboklab(68.58% 0.0304 -0.1578)
OKLCHoklch(68.58% 0.161 280.9)
XYZxyz(36.9640, 30.7689, 94.4152)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BFA #FAF98A
analogous
#8AC3FA #8A8BFA #C18AFA
triadic
#8A8BFA #FA8A8B #8BFA8A
tetradic
#8A8BFA #FA8AC3 #FAF98A #8AFAC1
square
#8A8BFA #FA8AC3 #FAF98A #8AFAC1
split-complementary
#8A8BFA #FAC18A #C3FA8A
monochromatic
#1517F5 #4F51F7 #8A8BFA #C5C5FD #E2E2FE

Accessibility & contrast

On white

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

On black

7.15
#8A8BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BFA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BFA#FFFFFF#000000##000000
##8A8BFA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#5893F7
Tritanopia (blue-blind)
#64A2B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8bfa;
/* rgb */ color: rgb(138, 139, 250);
/* oklch */ color: oklch(68.6% 0.161 280.9);
Tailwind
colors: {
  custom: {
    50: '#b1acfc',
    500: '#8a8bfa',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bfa;
$custom-light: #b1acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bfa",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 239.464,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.68575,
    "c": 0.16068,
    "h": 280.9
  },
  "luminance": 0.30771
}

Semantic roles & 50–950 ramp

primary
#8A8BFA
secondary
#F6F6D5
accent
#E300E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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