#8A81F9#8A81F9

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

Color values

HEX#8A81F9
RGBrgb(138, 129, 249)
HSLhsl(245, 91%, 74%)
HSVhsv(245, 48%, 98%)
CMYKcmyk(44.6%, 48.2%, 0%, 2.4%)
CIE-LABlab(59.84, 32.95, -59.10)
CIE-LCHlch(59.84, 67.66, 299.14°)
OKLaboklab(66.69% 0.042 -0.1678)
OKLCHoklch(66.69% 0.173 284.1)
XYZxyz(35.4254, 27.9418, 93.1309)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81F9 #F0F981
analogous
#81B4F9 #8A81F9 #C681F9
triadic
#8A81F9 #F98A81 #81F98A
tetradic
#8A81F9 #F981B4 #F0F981 #81F9C6
square
#8A81F9 #F981B4 #F0F981 #81F9C6
split-complementary
#8A81F9 #F9C681 #B4F981
monochromatic
#1E0CF3 #5447F6 #8A81F9 #C0BBFC #E4E2FE

Accessibility & contrast

On white

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

On black

6.59
#8A81F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81F9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81F9#FFFFFF#000000##000000
##8A81F91.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FD
Deuteranopia (green-blind)
#498CF6
Tritanopia (blue-blind)
#669AB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a81f9;
/* rgb */ color: rgb(138, 129, 249);
/* oklch */ color: oklch(66.7% 0.173 284.1);
Tailwind
colors: {
  custom: {
    50: '#b2a5fc',
    500: '#8a81f9',
    950: '#000000',
  },
}
SCSS
$custom: #8a81f9;
$custom-light: #b2a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81f9",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 244.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66687,
    "c": 0.17298,
    "h": 284.1
  },
  "luminance": 0.27943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A81F9

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

Preview Lab → · Contrast checker → · Palette generator →

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