#8D81F7#8D81F7

#8D81F7 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.8% C 0.170 H 285.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8D81F7
RGBrgb(141, 129, 247)
HSLhsl(246, 88%, 74%)
HSVhsv(246, 48%, 97%)
CMYKcmyk(42.9%, 47.8%, 0%, 3.1%)
CIE-LABlab(59.96, 33.07, -57.79)
CIE-LCHlch(59.96, 66.58, 299.78°)
OKLaboklab(66.8% 0.0453 -0.1639)
OKLCHoklch(66.8% 0.17 285.5)
XYZxyz(35.6184, 28.0772, 91.5204)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D81F7 #EBF781
analogous
#81B0F7 #8D81F7 #C881F7
triadic
#8D81F7 #F78D81 #81F78D
tetradic
#8D81F7 #F781B0 #EBF781 #81F7C8
square
#8D81F7 #F781B0 #EBF781 #81F7C8
split-complementary
#8D81F7 #F7C881 #B0F781
monochromatic
#260FEE #5947F3 #8D81F7 #C1BBFB #E5E2FD

Accessibility & contrast

On white

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

On black

6.62
#8D81F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D81F7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D81F7#FFFFFF#000000##000000
##8D81F71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#6C99B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d81f7;
/* rgb */ color: rgb(141, 129, 247);
/* oklch */ color: oklch(66.8% 0.170 285.5);
Tailwind
colors: {
  custom: {
    50: '#b3a5fa',
    500: '#8d81f7',
    950: '#000000',
  },
}
SCSS
$custom: #8d81f7;
$custom-light: #b3a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d81f7",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 246.102,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66801,
    "c": 0.17003,
    "h": 285.5
  },
  "luminance": 0.28079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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