#8381EB#8381EB

#8381EB is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.3% C 0.155 H 282.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8381EB
RGBrgb(131, 129, 235)
HSLhsl(241, 73%, 71%)
HSVhsv(241, 45%, 92%)
CMYKcmyk(44.3%, 45.1%, 0%, 7.8%)
CIE-LABlab(58.53, 27.31, -53.47)
CIE-LCHlch(58.53, 60.04, 297.06°)
OKLaboklab(65.32% 0.0324 -0.1515)
OKLCHoklch(65.32% 0.155 282.1)
XYZxyz(32.2013, 26.5225, 82.0038)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8381EB #E9EB81
analogous
#81B4EB #8381EB #B881EB
triadic
#8381EB #EB8381 #81EB83
tetradic
#8381EB #EB81B4 #E9EB81 #81EBB8
square
#8381EB #EB81B4 #E9EB81 #81EBB8
split-complementary
#8381EB #EBB881 #B4EB81
monochromatic
#2421D1 #4F4CE3 #8381EB #B7B6F3 #E5E5FB

Accessibility & contrast

On white

3.33
#8381EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8381EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8381EB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8381EB#FFFFFF#000000##000000
##8381EB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#6197AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8381eb;
/* rgb */ color: rgb(131, 129, 235);
/* oklch */ color: oklch(65.3% 0.155 282.1);
Tailwind
colors: {
  custom: {
    50: '#aca5f2',
    500: '#8381eb',
    950: '#000000',
  },
}
SCSS
$custom: #8381eb;
$custom-light: #aca5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8381eb",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 241.132,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65318,
    "c": 0.15489,
    "h": 282.1
  },
  "luminance": 0.26524
}

Semantic roles & 50–950 ramp

primary
#8381EB
secondary
#F1F2D6
accent
#D511D1
background
#FAFAFE
surface
#F5F4FD
border
#CFCED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8381EB

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

Preview Lab → · Contrast checker → · Palette generator →

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