#8381F5#8381F5

#8381F5 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.9% C 0.169 H 281.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8381F5
RGBrgb(131, 129, 245)
HSLhsl(241, 85%, 73%)
HSVhsv(241, 47%, 96%)
CMYKcmyk(46.5%, 47.3%, 0%, 3.9%)
CIE-LABlab(59.08, 30.21, -58.13)
CIE-LCHlch(59.08, 65.51, 297.46°)
OKLaboklab(65.91% 0.0336 -0.1651)
OKLCHoklch(65.91% 0.169 281.5)
XYZxyz(33.6868, 27.1167, 89.8275)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8381F5 #F3F581
analogous
#81B9F5 #8381F5 #BD81F5
triadic
#8381F5 #F58381 #81F583
tetradic
#8381F5 #F581B9 #F3F581 #81F5BD
square
#8381F5 #F581B9 #F3F581 #81F5BD
split-complementary
#8381F5 #F5BD81 #B9F581
monochromatic
#1613E9 #4B48F0 #8381F5 #BBBAF9 #E3E3FD

Accessibility & contrast

On white

3.27
#8381F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8381F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8381F5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8381F5#FFFFFF#000000##000000
##8381F51.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#488AF2
Tritanopia (blue-blind)
#5B9AAF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8381f5;
/* rgb */ color: rgb(131, 129, 245);
/* oklch */ color: oklch(65.9% 0.169 281.5);
Tailwind
colors: {
  custom: {
    50: '#ada5f9',
    500: '#8381f5',
    950: '#000000',
  },
}
SCSS
$custom: #8381f5;
$custom-light: #ada5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8381f5",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 245
  },
  "hsl": {
    "h": 241.034,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65914,
    "c": 0.16852,
    "h": 281.5
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

primary
#8381F5
secondary
#F4F5D6
accent
#E204DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8381F5

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

Preview Lab → · Contrast checker → · Palette generator →

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