#8A81F8#8A81F8

#8A81F8 is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.6% C 0.172 H 284.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8A81F8
RGBrgb(138, 129, 248)
HSLhsl(245, 89%, 74%)
HSVhsv(245, 48%, 97%)
CMYKcmyk(44.4%, 48%, 0%, 2.7%)
CIE-LABlab(59.78, 32.66, -58.64)
CIE-LCHlch(59.78, 67.12, 299.12°)
OKLaboklab(66.63% 0.0419 -0.1664)
OKLCHoklch(66.63% 0.172 284.1)
XYZxyz(35.2698, 27.8796, 92.3116)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81F8 #EFF881
analogous
#81B4F8 #8A81F8 #C681F8
triadic
#8A81F8 #F88A81 #81F88A
tetradic
#8A81F8 #F881B4 #EFF881 #81F8C6
square
#8A81F8 #F881B4 #EFF881 #81F8C6
split-complementary
#8A81F8 #F8C681 #B4F881
monochromatic
#1F0DF1 #5447F5 #8A81F8 #C0BBFB #E4E2FD

Accessibility & contrast

On white

3.19
#8A81F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#8A81F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81F8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81F8#FFFFFF#000000##000000
##8A81F81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#679AB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a81f8;
/* rgb */ color: rgb(138, 129, 248);
/* oklch */ color: oklch(66.6% 0.172 284.1);
Tailwind
colors: {
  custom: {
    50: '#b2a5fb',
    500: '#8a81f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a81f8;
$custom-light: #b2a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81f8",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 244.538,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.66627,
    "c": 0.17165,
    "h": 284.1
  },
  "luminance": 0.27881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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