#8A81FA#8A81FA

#8A81FA is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.7% C 0.174 H 284.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A81FA
RGBrgb(138, 129, 250)
HSLhsl(244, 92%, 74%)
HSVhsv(244, 48%, 98%)
CMYKcmyk(44.8%, 48.4%, 0%, 2%)
CIE-LABlab(59.89, 33.23, -59.56)
CIE-LCHlch(59.89, 68.20, 299.16°)
OKLaboklab(66.75% 0.0421 -0.1692)
OKLCHoklch(66.75% 0.174 284)
XYZxyz(35.5817, 28.0043, 93.9545)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81FA #F1FA81
analogous
#81B5FA #8A81FA #C781FA
triadic
#8A81FA #FA8A81 #81FA8A
tetradic
#8A81FA #FA81B5 #F1FA81 #81FAC7
square
#8A81FA #FA81B5 #F1FA81 #81FAC7
split-complementary
#8A81FA #FAC781 #B5FA81
monochromatic
#1D0BF5 #5346F8 #8A81FA #C1BCFC #E4E2FE

Accessibility & contrast

On white

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

On black

6.60
#8A81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81FA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81FA#FFFFFF#000000##000000
##8A81FA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#488CF7
Tritanopia (blue-blind)
#659BB2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a81fa;
/* rgb */ color: rgb(138, 129, 250);
/* oklch */ color: oklch(66.7% 0.174 284.0);
Tailwind
colors: {
  custom: {
    50: '#b2a5fc',
    500: '#8a81fa',
    950: '#000000',
  },
}
SCSS
$custom: #8a81fa;
$custom-light: #b2a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81fa",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 244.463,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66748,
    "c": 0.17433,
    "h": 284
  },
  "luminance": 0.28006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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