#8781EE#8781EE

#8781EE is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.8% C 0.158 H 283.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8781EE
RGBrgb(135, 129, 238)
HSLhsl(243, 76%, 72%)
HSVhsv(243, 46%, 93%)
CMYKcmyk(43.3%, 45.8%, 0%, 6.7%)
CIE-LABlab(59.00, 29.12, -54.37)
CIE-LCHlch(59.00, 61.68, 298.17°)
OKLaboklab(65.8% 0.0374 -0.154)
OKLCHoklch(65.8% 0.158 283.6)
XYZxyz(33.2700, 27.0230, 84.3353)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8781EE #E8EE81
analogous
#81B2EE #8781EE #BE81EE
triadic
#8781EE #EE8781 #81EE87
tetradic
#8781EE #EE81B2 #E8EE81 #81EEBE
square
#8781EE #EE81B2 #E8EE81 #81EEBE
split-complementary
#8781EE #EEBE81 #B2EE81
monochromatic
#271DD8 #544BE7 #8781EE #BAB7F5 #E5E4FB

Accessibility & contrast

On white

3.28
#8781EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8781EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8781EE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8781EE#FFFFFF#000000##000000
##8781EE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F2
Deuteranopia (green-blind)
#518AEC
Tritanopia (blue-blind)
#6797AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8781ee;
/* rgb */ color: rgb(135, 129, 238);
/* oklch */ color: oklch(65.8% 0.158 283.6);
Tailwind
colors: {
  custom: {
    50: '#afa5f4',
    500: '#8781ee',
    950: '#000000',
  },
}
SCSS
$custom: #8781ee;
$custom-light: #afa5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8781ee",
  "rgb": {
    "r": 135,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 243.303,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65799,
    "c": 0.15849,
    "h": 283.6
  },
  "luminance": 0.27024
}

Semantic roles & 50–950 ramp

primary
#8781EE
secondary
#F2F3D8
accent
#D80DCD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8781EE

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

Preview Lab → · Contrast checker → · Palette generator →

#8781EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva