#8F8AEE#8F8AEE

#8F8AEE is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.1% C 0.145 H 284.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8F8AEE
RGBrgb(143, 138, 238)
HSLhsl(243, 75%, 74%)
HSVhsv(243, 42%, 93%)
CMYKcmyk(39.9%, 42%, 0%, 6.7%)
CIE-LABlab(61.82, 25.83, -49.85)
CIE-LCHlch(61.82, 56.14, 297.39°)
OKLaboklab(68.09% 0.0354 -0.1406)
OKLCHoklch(68.09% 0.145 284.1)
XYZxyz(35.8444, 30.1883, 84.8106)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8AEE #E9EE8A
analogous
#8AB7EE #8F8AEE #C18AEE
triadic
#8F8AEE #EE8F8A #8AEE8F
tetradic
#8F8AEE #EE8AB7 #E9EE8A #8AEEC1
square
#8F8AEE #EE8AB7 #E9EE8A #8AEEC1
split-complementary
#8F8AEE #EEC18A #B7EE8A
monochromatic
#2A20DD #5C55E6 #8F8AEE #C2BFF6 #E5E4FB

Accessibility & contrast

On white

2.98
#8F8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#8F8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8AEE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8AEE#FFFFFF#000000##000000
##8F8AEE1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#6392EC
Tritanopia (blue-blind)
#739EB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f8aee;
/* rgb */ color: rgb(143, 138, 238);
/* oklch */ color: oklch(68.1% 0.145 284.1);
Tailwind
colors: {
  custom: {
    50: '#b4acf4',
    500: '#8f8aee',
    950: '#000000',
  },
}
SCSS
$custom: #8f8aee;
$custom-light: #b4acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8aee",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 243,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6809,
    "c": 0.14496,
    "h": 284.1
  },
  "luminance": 0.3019
}

Semantic roles & 50–950 ramp

primary
#8F8AEE
secondary
#F1F3D8
accent
#D70FCD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8F8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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