#8A8DFB#8A8DFB

#8A8DFB is a light, vivid blue. Relative luminance 0.314; OKLCH L 69.0% C 0.159 H 280.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8A8DFB
RGBrgb(138, 141, 251)
HSLhsl(238, 93%, 76%)
HSVhsv(238, 45%, 98%)
CMYKcmyk(45%, 43.8%, 0%, 1.6%)
CIE-LABlab(62.86, 26.53, -55.38)
CIE-LCHlch(62.86, 61.41, 295.60°)
OKLaboklab(69.01% 0.0282 -0.1568)
OKLCHoklch(69.01% 0.159 280.2)
XYZxyz(37.4135, 31.4162, 95.3407)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DFB #FBF88A
analogous
#8AC6FB #8A8DFB #C08AFB
triadic
#8A8DFB #FB8A8D #8DFB8A
tetradic
#8A8DFB #FB8AC6 #FBF88A #8AFBC0
square
#8A8DFB #FB8AC6 #FBF88A #8AFBC0
split-complementary
#8A8DFB #FBC08A #C6FB8A
monochromatic
#141AF7 #4F53F9 #8A8DFB #C5C7FD #E1E2FE

Accessibility & contrast

On white

2.88
#8A8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8A8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DFB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DFB#FFFFFF#000000##000000
##8A8DFB1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#64A4B8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8dfb;
/* rgb */ color: rgb(138, 141, 251);
/* oklch */ color: oklch(69.0% 0.159 280.2);
Tailwind
colors: {
  custom: {
    50: '#b1aefd',
    500: '#8a8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dfb;
$custom-light: #b1aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dfb",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 238.407,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69007,
    "c": 0.15935,
    "h": 280.2
  },
  "luminance": 0.31418
}

Semantic roles & 50–950 ramp

primary
#8A8DFB
secondary
#F6F5D5
accent
#DF00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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