#8A81DD#8A81DD

#8A81DD is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.1% C 0.135 H 286.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8A81DD
RGBrgb(138, 129, 221)
HSLhsl(246, 58%, 69%)
HSVhsv(246, 42%, 87%)
CMYKcmyk(37.6%, 41.6%, 0%, 13.3%)
CIE-LABlab(58.34, 25.13, -45.92)
CIE-LCHlch(58.34, 52.35, 298.69°)
OKLaboklab(65.07% 0.0383 -0.1292)
OKLCHoklch(65.07% 0.135 286.5)
XYZxyz(31.3790, 26.3232, 71.8202)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81DD #D4DD81
analogous
#81A6DD #8A81DD #B881DD
triadic
#8A81DD #DD8A81 #81DD8A
tetradic
#8A81DD #DD81A6 #D4DD81 #81DDB8
square
#8A81DD #DD81A6 #D4DD81 #81DDB8
split-complementary
#8A81DD #DDB881 #A6DD81
monochromatic
#3D30B3 #5D51D0 #8A81DD #B7B1EA #E4E1F7

Accessibility & contrast

On white

3.35
#8A81DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#8A81DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81DD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81DD#FFFFFF#000000##000000
##8A81DD1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE0
Deuteranopia (green-blind)
#608ADB
Tritanopia (blue-blind)
#7393A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a81dd;
/* rgb */ color: rgb(138, 129, 221);
/* oklch */ color: oklch(65.1% 0.135 286.5);
Tailwind
colors: {
  custom: {
    50: '#afa5e8',
    500: '#8a81dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a81dd;
$custom-light: #afa5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81dd",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 245.87,
    "s": 57.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65073,
    "c": 0.13479,
    "h": 286.5
  },
  "luminance": 0.26324
}

Semantic roles & 50–950 ramp

primary
#8A81DD
secondary
#E8EBCF
accent
#C520B5
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A81DD

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

Preview Lab → · Contrast checker → · Palette generator →

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