#8C81FA#8C81FA

#8C81FA is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.9% C 0.174 H 284.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8C81FA
RGBrgb(140, 129, 250)
HSLhsl(245, 92%, 74%)
HSVhsv(245, 48%, 98%)
CMYKcmyk(44%, 48.4%, 0%, 2%)
CIE-LABlab(60.05, 33.69, -59.30)
CIE-LCHlch(60.05, 68.20, 299.60°)
OKLaboklab(66.9% 0.0444 -0.1683)
OKLCHoklch(66.9% 0.174 284.8)
XYZxyz(35.9158, 28.1766, 93.9701)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C81FA #EFFA81
analogous
#81B2FA #8C81FA #C981FA
triadic
#8C81FA #FA8C81 #81FA8C
tetradic
#8C81FA #FA81B2 #EFFA81 #81FAC9
square
#8C81FA #FA81B2 #EFFA81 #81FAC9
split-complementary
#8C81FA #FAC981 #B2FA81
monochromatic
#210BF5 #5646F8 #8C81FA #C2BCFC #E4E2FE

Accessibility & contrast

On white

3.16
#8C81FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#8C81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C81FA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C81FA#FFFFFF#000000##000000
##8C81FA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#498DF7
Tritanopia (blue-blind)
#699AB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8c81fa;
/* rgb */ color: rgb(140, 129, 250);
/* oklch */ color: oklch(66.9% 0.174 284.8);
Tailwind
colors: {
  custom: {
    50: '#b3a5fc',
    500: '#8c81fa',
    950: '#000000',
  },
}
SCSS
$custom: #8c81fa;
$custom-light: #b3a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c81fa",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 245.455,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66903,
    "c": 0.17412,
    "h": 284.8
  },
  "luminance": 0.28178
}

Semantic roles & 50–950 ramp

primary
#8C81FA
secondary
#F3F6D5
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8C81FA

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

Preview Lab → · Contrast checker → · Palette generator →

#8C81FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva