#8F81FE#8F81FE

#8F81FE is a light, vivid blue. Relative luminance 0.287; OKLCH L 67.4% C 0.179 H 285.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8F81FE
RGBrgb(143, 129, 254)
HSLhsl(247, 98%, 75%)
HSVhsv(247, 49%, 100%)
CMYKcmyk(43.7%, 49.2%, 0%, 0.4%)
CIE-LABlab(60.51, 35.50, -60.75)
CIE-LCHlch(60.51, 70.36, 300.30°)
OKLaboklab(67.38% 0.0483 -0.1725)
OKLCHoklch(67.38% 0.179 285.6)
XYZxyz(37.0622, 28.6944, 97.3325)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F81FE #F0FE81
analogous
#81B1FE #8F81FE #CD81FE
triadic
#8F81FE #FE8F81 #81FE8F
tetradic
#8F81FE #FE81B1 #F0FE81 #81FECD
square
#8F81FE #FE81B1 #F0FE81 #81FECD
split-complementary
#8F81FE #FECD81 #B1FE81
monochromatic
#2308FD #5944FE #8F81FE #C5BEFE #E4E1FF

Accessibility & contrast

On white

3.12
#8F81FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8F81FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F81FE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F81FE#FFFFFF#000000##000000
##8F81FE1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#478EFB
Tritanopia (blue-blind)
#6C9BB4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f81fe;
/* rgb */ color: rgb(143, 129, 254);
/* oklch */ color: oklch(67.4% 0.179 285.6);
Tailwind
colors: {
  custom: {
    50: '#b5a5ff',
    500: '#8f81fe',
    950: '#000000',
  },
}
SCSS
$custom: #8f81fe;
$custom-light: #b5a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f81fe",
  "rgb": {
    "r": 143,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 246.72,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.67383,
    "c": 0.17915,
    "h": 285.6
  },
  "luminance": 0.28696
}

Semantic roles & 50–950 ramp

primary
#8F81FE
secondary
#F3F7D4
accent
#E600CC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8F81FE

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

Preview Lab → · Contrast checker → · Palette generator →

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