#8A8DFF#8A8DFF

#8A8DFF is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.2% C 0.165 H 280.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A8DFF
RGBrgb(138, 141, 255)
HSLhsl(238, 100%, 77%)
HSVhsv(238, 46%, 100%)
CMYKcmyk(45.9%, 44.7%, 0%, 0%)
CIE-LABlab(63.07, 27.69, -57.23)
CIE-LCHlch(63.07, 63.58, 295.82°)
OKLaboklab(69.24% 0.0287 -0.1623)
OKLCHoklch(69.24% 0.165 280)
XYZxyz(38.0507, 31.6711, 98.6965)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DFF #FFFC8A
analogous
#8AC7FF #8A8DFF #C28AFF
triadic
#8A8DFF #FF8A8D #8DFF8A
tetradic
#8A8DFF #FF8AC7 #FFFC8A #8AFFC2
square
#8A8DFF #FF8AC7 #FFFC8A #8AFFC2
split-complementary
#8A8DFF #FFC28A #C7FF8A
monochromatic
#1016FF #4D51FF #8A8DFF #C7C9FF #E0E1FF

Accessibility & contrast

On white

2.86
#8A8DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#8A8DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DFF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DFF#FFFFFF#000000##000000
##8A8DFF1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#5794FC
Tritanopia (blue-blind)
#61A5BA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8dff;
/* rgb */ color: rgb(138, 141, 255);
/* oklch */ color: oklch(69.2% 0.165 280.0);
Tailwind
colors: {
  custom: {
    50: '#b2aeff',
    500: '#8a8dff',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dff;
$custom-light: #b2aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dff",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 238.462,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.69237,
    "c": 0.16479,
    "h": 280
  },
  "luminance": 0.31673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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