#8A81DF#8A81DF

#8A81DF is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.2% C 0.138 H 286.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A81DF
RGBrgb(138, 129, 223)
HSLhsl(246, 59%, 69%)
HSVhsv(246, 42%, 87%)
CMYKcmyk(38.1%, 42.2%, 0%, 12.5%)
CIE-LABlab(58.44, 25.68, -46.88)
CIE-LCHlch(58.44, 53.45, 298.71°)
OKLaboklab(65.18% 0.0386 -0.132)
OKLCHoklch(65.18% 0.138 286.3)
XYZxyz(31.6471, 26.4305, 73.2319)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81DF #D6DF81
analogous
#81A7DF #8A81DF #B981DF
triadic
#8A81DF #DF8A81 #81DF8A
tetradic
#8A81DF #DF81A7 #D6DF81 #81DFB9
square
#8A81DF #DF81A7 #D6DF81 #81DFB9
split-complementary
#8A81DF #DFB981 #A7DF81
monochromatic
#3C2FB7 #5D50D3 #8A81DF #B7B2EB #E5E3F8

Accessibility & contrast

On white

3.34
#8A81DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8A81DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81DF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81DF#FFFFFF#000000##000000
##8A81DF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE3
Deuteranopia (green-blind)
#5F8ADD
Tritanopia (blue-blind)
#7393A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a81df;
/* rgb */ color: rgb(138, 129, 223);
/* oklch */ color: oklch(65.2% 0.138 286.3);
Tailwind
colors: {
  custom: {
    50: '#afa5e9',
    500: '#8a81df',
    950: '#000000',
  },
}
SCSS
$custom: #8a81df;
$custom-light: #afa5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81df",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 245.745,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65183,
    "c": 0.13757,
    "h": 286.3
  },
  "luminance": 0.26432
}

Semantic roles & 50–950 ramp

primary
#8A81DF
secondary
#E9ECD0
accent
#C71EB7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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