#8E81FA#8E81FA

#8E81FA is a light, vivid blue. Relative luminance 0.284; OKLCH L 67.1% C 0.174 H 285.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8E81FA
RGBrgb(142, 129, 250)
HSLhsl(246, 92%, 74%)
HSVhsv(246, 48%, 98%)
CMYKcmyk(43.2%, 48.4%, 0%, 2%)
CIE-LABlab(60.21, 34.15, -59.04)
CIE-LCHlch(60.21, 68.20, 300.04°)
OKLaboklab(67.06% 0.0468 -0.1675)
OKLCHoklch(67.06% 0.174 285.6)
XYZxyz(36.2559, 28.3520, 93.9861)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E81FA #EDFA81
analogous
#81B1FA #8E81FA #CA81FA
triadic
#8E81FA #FA8E81 #81FA8E
tetradic
#8E81FA #FA81B1 #EDFA81 #81FACA
square
#8E81FA #FA81B1 #EDFA81 #81FACA
split-complementary
#8E81FA #FACA81 #B1FA81
monochromatic
#240BF5 #5946F8 #8E81FA #C3BCFC #E5E2FE

Accessibility & contrast

On white

3.15
#8E81FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8E81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E81FA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E81FA#FFFFFF#000000##000000
##8E81FA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FE
Deuteranopia (green-blind)
#4B8EF7
Tritanopia (blue-blind)
#6D9AB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8e81fa;
/* rgb */ color: rgb(142, 129, 250);
/* oklch */ color: oklch(67.1% 0.174 285.6);
Tailwind
colors: {
  custom: {
    50: '#b4a5fc',
    500: '#8e81fa',
    950: '#000000',
  },
}
SCSS
$custom: #8e81fa;
$custom-light: #b4a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e81fa",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 246.446,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.17393,
    "h": 285.6
  },
  "luminance": 0.28353
}

Semantic roles & 50–950 ramp

primary
#8E81FA
secondary
#F2F6D5
accent
#E600CD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8E81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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