#8A8FFD#8A8FFD

#8A8FFD is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.5% C 0.159 H 279.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8A8FFD
RGBrgb(138, 143, 253)
HSLhsl(237, 97%, 77%)
HSVhsv(237, 45%, 99%)
CMYKcmyk(45.5%, 43.5%, 0%, 0.8%)
CIE-LABlab(63.46, 25.95, -55.52)
CIE-LCHlch(63.46, 61.28, 295.05°)
OKLaboklab(69.5% 0.0261 -0.1572)
OKLCHoklch(69.5% 0.159 279.4)
XYZxyz(38.0280, 32.1381, 97.1090)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FFD #FDF88A
analogous
#8AC9FD #8A8FFD #BF8AFD
triadic
#8A8FFD #FD8A8F #8FFD8A
tetradic
#8A8FFD #FD8AC9 #FDF88A #8AFDBF
square
#8A8FFD #FD8AC9 #FDF88A #8AFDBF
split-complementary
#8A8FFD #FDBF8A #C9FD8A
monochromatic
#121CFB #4E55FC #8A8FFD #C6C9FE #E1E2FE

Accessibility & contrast

On white

2.83
#8A8FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8A8FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FFD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FFD#FFFFFF#000000##000000
##8A8FFD1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#5C95FB
Tritanopia (blue-blind)
#62A6BA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a8ffd;
/* rgb */ color: rgb(138, 143, 253);
/* oklch */ color: oklch(69.5% 0.159 279.4);
Tailwind
colors: {
  custom: {
    50: '#b2affe',
    500: '#8a8ffd',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ffd;
$custom-light: #b2affe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ffd",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 237.391,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69496,
    "c": 0.15939,
    "h": 279.4
  },
  "luminance": 0.3214
}

Semantic roles & 50–950 ramp

primary
#8A8FFD
secondary
#F7F5D4
accent
#DC00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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