#8F81EF#8F81EF

#8F81EF is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.5% C 0.159 H 287.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8F81EF
RGBrgb(143, 129, 239)
HSLhsl(248, 77%, 72%)
HSVhsv(248, 46%, 94%)
CMYKcmyk(40.2%, 46%, 0%, 6.3%)
CIE-LABlab(59.68, 31.33, -53.80)
CIE-LCHlch(59.68, 62.25, 300.21°)
OKLaboklab(66.49% 0.0467 -0.1521)
OKLCHoklch(66.49% 0.159 287.1)
XYZxyz(34.7536, 27.7709, 85.1738)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F81EF #E1EF81
analogous
#81AAEF #8F81EF #C681EF
triadic
#8F81EF #EF8F81 #81EF8F
tetradic
#8F81EF #EF81AA #E1EF81 #81EFC6
square
#8F81EF #EF81AA #E1EF81 #81EFC6
split-complementary
#8F81EF #EFC681 #AAEF81
monochromatic
#341CDA #5F4BE8 #8F81EF #BFB7F6 #E7E4FC

Accessibility & contrast

On white

3.20
#8F81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8F81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F81EF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F81EF#FFFFFF#000000##000000
##8F81EF1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F3
Deuteranopia (green-blind)
#568DEC
Tritanopia (blue-blind)
#7497AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f81ef;
/* rgb */ color: rgb(143, 129, 239);
/* oklch */ color: oklch(66.5% 0.159 287.1);
Tailwind
colors: {
  custom: {
    50: '#b4a5f5',
    500: '#8f81ef',
    950: '#000000',
  },
}
SCSS
$custom: #8f81ef;
$custom-light: #b4a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f81ef",
  "rgb": {
    "r": 143,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 247.636,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6649,
    "c": 0.15915,
    "h": 287.1
  },
  "luminance": 0.27772
}

Semantic roles & 50–950 ramp

primary
#8F81EF
secondary
#F0F3D8
accent
#DA0CBF
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85

Preview Lab

Preview with #8F81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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