#8F81E9#8F81E9

#8F81E9 is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.1% C 0.151 H 287.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8F81E9
RGBrgb(143, 129, 233)
HSLhsl(248, 70%, 71%)
HSVhsv(248, 45%, 91%)
CMYKcmyk(38.6%, 44.6%, 0%, 8.6%)
CIE-LABlab(59.36, 29.68, -50.97)
CIE-LCHlch(59.36, 58.98, 300.21°)
OKLaboklab(66.15% 0.0459 -0.1439)
OKLCHoklch(66.15% 0.151 287.7)
XYZxyz(33.8819, 27.4223, 80.5828)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F81E9 #DBE981
analogous
#81A7E9 #8F81E9 #C381E9
triadic
#8F81E9 #E98F81 #81E98F
tetradic
#8F81E9 #E981A7 #DBE981 #81E9C3
square
#8F81E9 #E981A7 #DBE981 #81E9C3
split-complementary
#8F81E9 #E9C381 #A7E981
monochromatic
#3A24CC #614DE0 #8F81E9 #BDB5F2 #E8E5FA

Accessibility & contrast

On white

3.24
#8F81E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8F81E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F81E9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F81E9#FFFFFF#000000##000000
##8F81E91.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91ED
Deuteranopia (green-blind)
#5B8CE7
Tritanopia (blue-blind)
#7696AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f81e9;
/* rgb */ color: rgb(143, 129, 233);
/* oklch */ color: oklch(66.1% 0.151 287.7);
Tailwind
colors: {
  custom: {
    50: '#b3a5f0',
    500: '#8f81e9',
    950: '#000000',
  },
}
SCSS
$custom: #8f81e9;
$custom-light: #b3a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f81e9",
  "rgb": {
    "r": 143,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 248.077,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66147,
    "c": 0.15103,
    "h": 287.7
  },
  "luminance": 0.27423
}

Semantic roles & 50–950 ramp

primary
#8F81E9
secondary
#EDF1D5
accent
#D213B9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8F81E9

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

Preview Lab → · Contrast checker → · Palette generator →

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