#8D81F8#8D81F8

#8D81F8 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.9% C 0.171 H 285.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8D81F8
RGBrgb(141, 129, 248)
HSLhsl(246, 89%, 74%)
HSVhsv(246, 48%, 97%)
CMYKcmyk(43.1%, 48%, 0%, 2.7%)
CIE-LABlab(60.01, 33.35, -58.25)
CIE-LCHlch(60.01, 67.12, 299.80°)
OKLaboklab(66.86% 0.0454 -0.1652)
OKLCHoklch(66.86% 0.171 285.4)
XYZxyz(35.7732, 28.1391, 92.3352)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D81F8 #ECF881
analogous
#81B1F8 #8D81F8 #C981F8
triadic
#8D81F8 #F88D81 #81F88D
tetradic
#8D81F8 #F881B1 #ECF881 #81F8C9
square
#8D81F8 #F881B1 #ECF881 #81F8C9
split-complementary
#8D81F8 #F8C981 #B1F881
monochromatic
#240DF1 #5947F5 #8D81F8 #C1BBFB #E5E2FD

Accessibility & contrast

On white

3.17
#8D81F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8D81F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D81F8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D81F8#FFFFFF#000000##000000
##8D81F81.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#6C9AB1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d81f8;
/* rgb */ color: rgb(141, 129, 248);
/* oklch */ color: oklch(66.9% 0.171 285.4);
Tailwind
colors: {
  custom: {
    50: '#b4a5fb',
    500: '#8d81f8',
    950: '#000000',
  },
}
SCSS
$custom: #8d81f8;
$custom-light: #b4a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d81f8",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 246.05,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.66861,
    "c": 0.17136,
    "h": 285.4
  },
  "luminance": 0.28141
}

Semantic roles & 50–950 ramp

primary
#8D81F8
secondary
#F2F5D6
accent
#E600CE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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