#8D81FE#8D81FE

#8D81FE is a light, vivid blue. Relative luminance 0.285; OKLCH L 67.2% C 0.179 H 284.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8D81FE
RGBrgb(141, 129, 254)
HSLhsl(246, 98%, 75%)
HSVhsv(246, 49%, 100%)
CMYKcmyk(44.5%, 49.2%, 0%, 0.4%)
CIE-LABlab(60.35, 35.05, -61.01)
CIE-LCHlch(60.35, 70.36, 299.88°)
OKLaboklab(67.22% 0.046 -0.1733)
OKLCHoklch(67.22% 0.179 284.8)
XYZxyz(36.7189, 28.5174, 97.3164)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D81FE #F2FE81
analogous
#81B3FE #8D81FE #CB81FE
triadic
#8D81FE #FE8D81 #81FE8D
tetradic
#8D81FE #FE81B3 #F2FE81 #81FECB
square
#8D81FE #FE81B3 #F2FE81 #81FECB
split-complementary
#8D81FE #FECB81 #B3FE81
monochromatic
#1F08FD #5644FE #8D81FE #C4BEFE #E4E1FF

Accessibility & contrast

On white

3.13
#8D81FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8D81FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D81FE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D81FE#FFFFFF#000000##000000
##8D81FE1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#468EFB
Tritanopia (blue-blind)
#699BB4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d81fe;
/* rgb */ color: rgb(141, 129, 254);
/* oklch */ color: oklch(67.2% 0.179 284.8);
Tailwind
colors: {
  custom: {
    50: '#b4a5ff',
    500: '#8d81fe',
    950: '#000000',
  },
}
SCSS
$custom: #8d81fe;
$custom-light: #b4a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d81fe",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 245.76,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.67225,
    "c": 0.17933,
    "h": 284.8
  },
  "luminance": 0.28519
}

Semantic roles & 50–950 ramp

primary
#8D81FE
secondary
#F4F7D4
accent
#E600CF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8D81FE

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

Preview Lab → · Contrast checker → · Palette generator →

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