#8A81FD#8A81FD

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

Color values

HEX#8A81FD
RGBrgb(138, 129, 253)
HSLhsl(244, 97%, 75%)
HSVhsv(244, 49%, 99%)
CMYKcmyk(45.5%, 49%, 0%, 0.8%)
CIE-LABlab(60.06, 34.09, -60.93)
CIE-LCHlch(60.06, 69.82, 299.23°)
OKLaboklab(66.93% 0.0424 -0.1732)
OKLCHoklch(66.93% 0.178 283.8)
XYZxyz(36.0559, 28.1940, 96.4516)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81FD #F4FD81
analogous
#81B6FD #8A81FD #C881FD
triadic
#8A81FD #FD8A81 #81FD8A
tetradic
#8A81FD #FD81B6 #F4FD81 #81FDC8
square
#8A81FD #FD81B6 #F4FD81 #81FDC8
split-complementary
#8A81FD #FDC881 #B6FD81
monochromatic
#1A09FB #5245FC #8A81FD #C2BDFE #E3E1FF

Accessibility & contrast

On white

3.16
#8A81FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#8A81FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81FD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81FD#FFFFFF#000000##000000
##8A81FD1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#448DFA
Tritanopia (blue-blind)
#649BB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a81fd;
/* rgb */ color: rgb(138, 129, 253);
/* oklch */ color: oklch(66.9% 0.178 283.8);
Tailwind
colors: {
  custom: {
    50: '#b2a5ff',
    500: '#8a81fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a81fd;
$custom-light: #b2a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81fd",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 244.355,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.66932,
    "c": 0.17832,
    "h": 283.8
  },
  "luminance": 0.28196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A81FD

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

Preview Lab → · Contrast checker → · Palette generator →

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