#8A81F6#8A81F6

#8A81F6 is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.5% C 0.169 H 284.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A81F6
RGBrgb(138, 129, 246)
HSLhsl(245, 87%, 74%)
HSVhsv(245, 48%, 96%)
CMYKcmyk(43.9%, 47.6%, 0%, 3.5%)
CIE-LABlab(59.67, 32.10, -57.71)
CIE-LCHlch(59.67, 66.04, 299.08°)
OKLaboklab(66.51% 0.0417 -0.1637)
OKLCHoklch(66.51% 0.169 284.3)
XYZxyz(34.9612, 27.7561, 90.6863)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81F6 #EDF681
analogous
#81B2F6 #8A81F6 #C481F6
triadic
#8A81F6 #F68A81 #81F68A
tetradic
#8A81F6 #F681B2 #EDF681 #81F6C4
square
#8A81F6 #F681B2 #EDF681 #81F6C4
split-complementary
#8A81F6 #F6C481 #B2F681
monochromatic
#2211EC #5548F2 #8A81F6 #BFBAFA #E4E2FD

Accessibility & contrast

On white

3.21
#8A81F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8A81F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81F6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81F6#FFFFFF#000000##000000
##8A81F61.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#6899B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a81f6;
/* rgb */ color: rgb(138, 129, 246);
/* oklch */ color: oklch(66.5% 0.169 284.3);
Tailwind
colors: {
  custom: {
    50: '#b1a5fa',
    500: '#8a81f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a81f6;
$custom-light: #b1a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81f6",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 244.615,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66506,
    "c": 0.16897,
    "h": 284.3
  },
  "luminance": 0.27758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A81F6

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

Preview Lab → · Contrast checker → · Palette generator →

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