#8381F7#8381F7

#8381F7 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.0% C 0.171 H 281.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8381F7
RGBrgb(131, 129, 247)
HSLhsl(241, 88%, 74%)
HSVhsv(241, 48%, 97%)
CMYKcmyk(47%, 47.8%, 0%, 3.1%)
CIE-LABlab(59.20, 30.80, -59.05)
CIE-LCHlch(59.20, 66.60, 297.54°)
OKLaboklab(66.04% 0.0338 -0.1678)
OKLCHoklch(66.04% 0.171 281.4)
XYZxyz(33.9938, 27.2395, 91.4442)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8381F7 #F5F781
analogous
#81BAF7 #8381F7 #BE81F7
triadic
#8381F7 #F78381 #81F783
tetradic
#8381F7 #F781BA #F5F781 #81F7BE
square
#8381F7 #F781BA #F5F781 #81F7BE
split-complementary
#8381F7 #F7BE81 #BAF781
monochromatic
#130FEE #4A47F3 #8381F7 #BCBBFB #E3E2FD

Accessibility & contrast

On white

3.26
#8381F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#8381F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8381F7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8381F7#FFFFFF#000000##000000
##8381F71.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#5A9AB0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8381f7;
/* rgb */ color: rgb(131, 129, 247);
/* oklch */ color: oklch(66.0% 0.171 281.4);
Tailwind
colors: {
  custom: {
    50: '#ada5fa',
    500: '#8381f7',
    950: '#000000',
  },
}
SCSS
$custom: #8381f7;
$custom-light: #ada5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8381f7",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 241.017,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66036,
    "c": 0.17122,
    "h": 281.4
  },
  "luminance": 0.27241
}

Semantic roles & 50–950 ramp

primary
#8381F7
secondary
#F5F5D6
accent
#E501E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8381F7

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

Preview Lab → · Contrast checker → · Palette generator →

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