#8B8EFD#8B8EFD

#8B8EFD is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.4% C 0.161 H 280.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8B8EFD
RGBrgb(139, 142, 253)
HSLhsl(238, 97%, 77%)
HSVhsv(238, 45%, 99%)
CMYKcmyk(45.1%, 43.9%, 0%, 0.8%)
CIE-LABlab(63.28, 26.76, -55.80)
CIE-LCHlch(63.28, 61.88, 295.62°)
OKLaboklab(69.38% 0.0284 -0.158)
OKLCHoklch(69.38% 0.161 280.2)
XYZxyz(38.0448, 31.9250, 97.0670)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8EFD #FDFA8B
analogous
#8BC7FD #8B8EFD #C18BFD
triadic
#8B8EFD #FD8B8E #8EFD8B
tetradic
#8B8EFD #FD8BC7 #FDFA8B #8BFDC1
square
#8B8EFD #FD8BC7 #FDFA8B #8BFDC1
split-complementary
#8B8EFD #FDC18B #C7FD8B
monochromatic
#1319FB #4F53FC #8B8EFD #C7C9FE #E1E2FE

Accessibility & contrast

On white

2.84
#8B8EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#8B8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B8EFD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8EFD#FFFFFF#000000##000000
##8B8EFD1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#5B95FA
Tritanopia (blue-blind)
#64A5B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8b8efd;
/* rgb */ color: rgb(139, 142, 253);
/* oklch */ color: oklch(69.4% 0.161 280.2);
Tailwind
colors: {
  custom: {
    50: '#b2affe',
    500: '#8b8efd',
    950: '#000000',
  },
}
SCSS
$custom: #8b8efd;
$custom-light: #b2affe;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8efd",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 238.421,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.69381,
    "c": 0.16056,
    "h": 280.2
  },
  "luminance": 0.31927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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