#8181EC#8181EC

#8181EC is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.2% C 0.157 H 281.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8181EC
RGBrgb(129, 129, 236)
HSLhsl(240, 74%, 72%)
HSVhsv(240, 45%, 93%)
CMYKcmyk(45.3%, 45.3%, 0%, 7.5%)
CIE-LABlab(58.44, 27.13, -54.18)
CIE-LCHlch(58.44, 60.59, 296.60°)
OKLaboklab(65.23% 0.0303 -0.1536)
OKLCHoklch(65.23% 0.157 281.2)
XYZxyz(32.0393, 26.4222, 82.7524)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8181EC #ECEC81
analogous
#81B7EC #8181EC #B781EC
triadic
#8181EC #EC8181 #81EC81
tetradic
#8181EC #EC81B7 #ECEC81 #81ECB7
square
#8181EC #EC81B7 #ECEC81 #81ECB7
split-complementary
#8181EC #ECB781 #B7EC81
monochromatic
#2020D3 #4C4CE4 #8181EC #B6B6F4 #E4E4FB

Accessibility & contrast

On white

3.34
#8181EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8181EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8181EC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8181EC#FFFFFF#000000##000000
##8181EC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690F0
Deuteranopia (green-blind)
#4F89EA
Tritanopia (blue-blind)
#5D97AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8181ec;
/* rgb */ color: rgb(129, 129, 236);
/* oklch */ color: oklch(65.2% 0.157 281.2);
Tailwind
colors: {
  custom: {
    50: '#aba5f3',
    500: '#8181ec',
    950: '#000000',
  },
}
SCSS
$custom: #8181ec;
$custom-light: #aba5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8181ec",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 240,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65227,
    "c": 0.15656,
    "h": 281.2
  },
  "luminance": 0.26424
}

Semantic roles & 50–950 ramp

primary
#8181EC
secondary
#F2F2D7
accent
#D610D6
background
#FAFAFE
surface
#F5F4FD
border
#CFCED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #8181EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8181EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva