#8A81FB#8A81FB

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

Color values

HEX#8A81FB
RGBrgb(138, 129, 251)
HSLhsl(244, 94%, 75%)
HSVhsv(244, 49%, 98%)
CMYKcmyk(45%, 48.6%, 0%, 1.6%)
CIE-LABlab(59.95, 33.52, -60.02)
CIE-LCHlch(59.95, 68.74, 299.18°)
OKLaboklab(66.81% 0.0422 -0.1705)
OKLCHoklch(66.81% 0.176 283.9)
XYZxyz(35.7390, 28.0672, 94.7825)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81FB #F2FB81
analogous
#81B5FB #8A81FB #C781FB
triadic
#8A81FB #FB8A81 #81FB8A
tetradic
#8A81FB #FB81B5 #F2FB81 #81FBC7
square
#8A81FB #FB81B5 #F2FB81 #81FBC7
split-complementary
#8A81FB #FBC781 #B5FB81
monochromatic
#1C0AF7 #5346F9 #8A81FB #C1BCFD #E3E1FE

Accessibility & contrast

On white

3.18
#8A81FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8A81FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81FB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81FB#FFFFFF#000000##000000
##8A81FB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FF
Deuteranopia (green-blind)
#478DF8
Tritanopia (blue-blind)
#659BB2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a81fb;
/* rgb */ color: rgb(138, 129, 251);
/* oklch */ color: oklch(66.8% 0.176 283.9);
Tailwind
colors: {
  custom: {
    50: '#b2a5fd',
    500: '#8a81fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a81fb;
$custom-light: #b2a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81fb",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 244.426,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66809,
    "c": 0.17566,
    "h": 283.9
  },
  "luminance": 0.28069
}

Semantic roles & 50–950 ramp

primary
#8A81FB
secondary
#F4F6D5
accent
#E600D5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8A81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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