#8B8EFE#8B8EFE

#8B8EFE is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.4% C 0.162 H 280.1°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8B8EFE
RGBrgb(139, 142, 254)
HSLhsl(238, 98%, 77%)
HSVhsv(238, 45%, 100%)
CMYKcmyk(45.3%, 44.1%, 0%, 0.4%)
CIE-LABlab(63.33, 27.05, -56.26)
CIE-LCHlch(63.33, 62.42, 295.68°)
OKLaboklab(69.44% 0.0285 -0.1594)
OKLCHoklch(69.44% 0.162 280.1)
XYZxyz(38.2045, 31.9888, 97.9081)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8EFE #FEFB8B
analogous
#8BC8FE #8B8EFE #C28BFE
triadic
#8B8EFE #FE8B8E #8EFE8B
tetradic
#8B8EFE #FE8BC8 #FEFB8B #8BFEC2
square
#8B8EFE #FE8BC8 #FEFB8B #8BFEC2
split-complementary
#8B8EFE #FEC28B #C8FE8B
monochromatic
#1218FD #4E53FD #8B8EFE #C8C9FF #E1E1FF

Accessibility & contrast

On white

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

On black

7.40
#8B8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B8EFE
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8EFE#FFFFFF#000000##000000
##8B8EFE1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8efe;
/* rgb */ color: rgb(139, 142, 254);
/* oklch */ color: oklch(69.4% 0.162 280.1);
Tailwind
colors: {
  custom: {
    50: '#b2afff',
    500: '#8b8efe',
    950: '#000000',
  },
}
SCSS
$custom: #8b8efe;
$custom-light: #b2afff;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8efe",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 238.435,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.69438,
    "c": 0.16192,
    "h": 280.1
  },
  "luminance": 0.31991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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