#8381EA#8381EA

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

Color values

HEX#8381EA
RGBrgb(131, 129, 234)
HSLhsl(241, 71%, 71%)
HSVhsv(241, 45%, 92%)
CMYKcmyk(44%, 44.9%, 0%, 8.2%)
CIE-LABlab(58.48, 27.03, -53.00)
CIE-LCHlch(58.48, 59.49, 297.02°)
OKLaboklab(65.26% 0.0323 -0.1501)
OKLCHoklch(65.26% 0.154 282.1)
XYZxyz(32.0572, 26.4649, 81.2451)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8381EA #E8EA81
analogous
#81B3EA #8381EA #B781EA
triadic
#8381EA #EA8381 #81EA83
tetradic
#8381EA #EA81B3 #E8EA81 #81EAB7
square
#8381EA #EA81B3 #E8EA81 #81EAB7
split-complementary
#8381EA #EAB781 #B3EA81
monochromatic
#2622CE #4F4DE1 #8381EA #B7B5F3 #E5E5FB

Accessibility & contrast

On white

3.34
#8381EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8381EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8381EA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8381EA#FFFFFF#000000##000000
##8381EA1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EE
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#6297AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8381ea;
/* rgb */ color: rgb(131, 129, 234);
/* oklch */ color: oklch(65.3% 0.154 282.1);
Tailwind
colors: {
  custom: {
    50: '#aca5f1',
    500: '#8381ea',
    950: '#000000',
  },
}
SCSS
$custom: #8381ea;
$custom-light: #aca5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8381ea",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 241.143,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65259,
    "c": 0.15352,
    "h": 282.1
  },
  "luminance": 0.26466
}

Semantic roles & 50–950 ramp

primary
#8381EA
secondary
#F1F1D6
accent
#D312D0
background
#FAFAFE
surface
#F5F4FD
border
#CFCED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8381EA

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

Preview Lab → · Contrast checker → · Palette generator →

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