#8B81F8#8B81F8

#8B81F8 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.7% C 0.172 H 284.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8B81F8
RGBrgb(139, 129, 248)
HSLhsl(245, 89%, 74%)
HSVhsv(245, 48%, 97%)
CMYKcmyk(44%, 48%, 0%, 2.7%)
CIE-LABlab(59.86, 32.89, -58.51)
CIE-LCHlch(59.86, 67.12, 299.35°)
OKLaboklab(66.7% 0.0431 -0.166)
OKLCHoklch(66.7% 0.172 284.5)
XYZxyz(35.4361, 27.9653, 92.3194)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B81F8 #EEF881
analogous
#81B3F8 #8B81F8 #C781F8
triadic
#8B81F8 #F88B81 #81F88B
tetradic
#8B81F8 #F881B3 #EEF881 #81F8C7
square
#8B81F8 #F881B3 #EEF881 #81F8C7
split-complementary
#8B81F8 #F8C781 #B3F881
monochromatic
#210DF1 #5647F5 #8B81F8 #C0BBFB #E4E2FD

Accessibility & contrast

On white

3.19
#8B81F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8B81F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B81F8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B81F8#FFFFFF#000000##000000
##8B81F81.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#4B8DF5
Tritanopia (blue-blind)
#689AB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b81f8;
/* rgb */ color: rgb(139, 129, 248);
/* oklch */ color: oklch(66.7% 0.172 284.5);
Tailwind
colors: {
  custom: {
    50: '#b2a5fb',
    500: '#8b81f8',
    950: '#000000',
  },
}
SCSS
$custom: #8b81f8;
$custom-light: #b2a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b81f8",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 245.042,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.66704,
    "c": 0.17155,
    "h": 284.5
  },
  "luminance": 0.27967
}

Semantic roles & 50–950 ramp

primary
#8B81F8
secondary
#F3F5D6
accent
#E600D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8B81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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