#8181EB#8181EB

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

Color values

HEX#8181EB
RGBrgb(129, 129, 235)
HSLhsl(240, 73%, 71%)
HSVhsv(240, 45%, 92%)
CMYKcmyk(45.1%, 45.1%, 0%, 7.8%)
CIE-LABlab(58.38, 26.84, -53.71)
CIE-LCHlch(58.38, 60.05, 296.55°)
OKLaboklab(65.17% 0.0302 -0.1522)
OKLCHoklch(65.17% 0.155 281.2)
XYZxyz(31.8944, 26.3643, 81.9894)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8181EB #EBEB81
analogous
#81B6EB #8181EB #B681EB
triadic
#8181EB #EB8181 #81EB81
tetradic
#8181EB #EB81B6 #EBEB81 #81EBB6
square
#8181EB #EB81B6 #EBEB81 #81EBB6
split-complementary
#8181EB #EBB681 #B6EB81
monochromatic
#2121D1 #4C4CE3 #8181EB #B6B6F3 #E5E5FB

Accessibility & contrast

On white

3.35
#8181EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8181EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8181EB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8181EB#FFFFFF#000000##000000
##8181EB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EF
Deuteranopia (green-blind)
#5089E9
Tritanopia (blue-blind)
#5D97AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8181eb;
/* rgb */ color: rgb(129, 129, 235);
/* oklch */ color: oklch(65.2% 0.155 281.2);
Tailwind
colors: {
  custom: {
    50: '#aba5f2',
    500: '#8181eb',
    950: '#000000',
  },
}
SCSS
$custom: #8181eb;
$custom-light: #aba5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8181eb",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65168,
    "c": 0.15519,
    "h": 281.2
  },
  "luminance": 0.26366
}

Semantic roles & 50–950 ramp

primary
#8181EB
secondary
#F2F2D6
accent
#D511D5
background
#FAFAFE
surface
#F5F4FD
border
#CFCED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #8181EB

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

Preview Lab → · Contrast checker → · Palette generator →

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