#8A81FC#8A81FC

#8A81FC is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.9% C 0.177 H 283.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8A81FC
RGBrgb(138, 129, 252)
HSLhsl(244, 95%, 75%)
HSVhsv(244, 49%, 99%)
CMYKcmyk(45.2%, 48.8%, 0%, 1.2%)
CIE-LABlab(60.01, 33.80, -60.48)
CIE-LCHlch(60.01, 69.28, 299.20°)
OKLaboklab(66.87% 0.0423 -0.1718)
OKLCHoklch(66.87% 0.177 283.8)
XYZxyz(35.8970, 28.1304, 95.6149)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81FC #F3FC81
analogous
#81B6FC #8A81FC #C781FC
triadic
#8A81FC #FC8A81 #81FC8A
tetradic
#8A81FC #FC81B6 #F3FC81 #81FCC7
square
#8A81FC #FC81B6 #F3FC81 #81FCC7
split-complementary
#8A81FC #FCC781 #B6FC81
monochromatic
#1B09F9 #5245FB #8A81FC #C2BDFD #E3E1FE

Accessibility & contrast

On white

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

On black

6.63
#8A81FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81FC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81FC#FFFFFF#000000##000000
##8A81FC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#468DF9
Tritanopia (blue-blind)
#649BB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a81fc;
/* rgb */ color: rgb(138, 129, 252);
/* oklch */ color: oklch(66.9% 0.177 283.8);
Tailwind
colors: {
  custom: {
    50: '#b2a5fe',
    500: '#8a81fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a81fc;
$custom-light: #b2a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81fc",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 244.39,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.6687,
    "c": 0.17698,
    "h": 283.8
  },
  "luminance": 0.28132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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