#8381F2#8381F2

#8381F2 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.7% C 0.164 H 281.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8381F2
RGBrgb(131, 129, 242)
HSLhsl(241, 81%, 73%)
HSVhsv(241, 47%, 95%)
CMYKcmyk(45.9%, 46.7%, 0%, 5.1%)
CIE-LABlab(58.91, 29.34, -56.73)
CIE-LCHlch(58.91, 63.87, 297.35°)
OKLaboklab(65.73% 0.0333 -0.161)
OKLCHoklch(65.73% 0.164 281.7)
XYZxyz(33.2325, 26.9350, 87.4351)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8381F2 #F0F281
analogous
#81B7F2 #8381F2 #BB81F2
triadic
#8381F2 #F28381 #81F283
tetradic
#8381F2 #F281B7 #F0F281 #81F2BB
square
#8381F2 #F281B7 #F0F281 #81F2BB
split-complementary
#8381F2 #F2BB81 #B7F281
monochromatic
#1B17E1 #4C4AEC #8381F2 #BAB8F8 #E4E3FC

Accessibility & contrast

On white

3.29
#8381F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8381F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8381F2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8381F2#FFFFFF#000000##000000
##8381F21.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#5D99AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8381f2;
/* rgb */ color: rgb(131, 129, 242);
/* oklch */ color: oklch(65.7% 0.164 281.7);
Tailwind
colors: {
  custom: {
    50: '#ada5f7',
    500: '#8381f2',
    950: '#000000',
  },
}
SCSS
$custom: #8381f2;
$custom-light: #ada5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8381f2",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 241.062,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65733,
    "c": 0.16445,
    "h": 281.7
  },
  "luminance": 0.26937
}

Semantic roles & 50–950 ramp

primary
#8381F2
secondary
#F3F4D7
accent
#DE08DA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8381F2

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

Preview Lab → · Contrast checker → · Palette generator →

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