#8F8AEB#8F8AEB

#8F8AEB is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.9% C 0.141 H 284.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8F8AEB
RGBrgb(143, 138, 235)
HSLhsl(243, 71%, 73%)
HSVhsv(243, 41%, 92%)
CMYKcmyk(39.1%, 41.3%, 0%, 7.8%)
CIE-LABlab(61.67, 25.00, -48.43)
CIE-LCHlch(61.67, 54.50, 297.30°)
OKLaboklab(67.93% 0.0349 -0.1364)
OKLCHoklch(67.93% 0.141 284.3)
XYZxyz(35.4073, 30.0135, 82.5088)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8AEB #E6EB8A
analogous
#8AB5EB #8F8AEB #BF8AEB
triadic
#8F8AEB #EB8F8A #8AEB8F
tetradic
#8F8AEB #EB8AB5 #E6EB8A #8AEBBF
square
#8F8AEB #EB8AB5 #E6EB8A #8AEBBF
split-complementary
#8F8AEB #EBBF8A #B5EB8A
monochromatic
#2E25D6 #5D56E2 #8F8AEB #C1BEF4 #E6E5FB

Accessibility & contrast

On white

3.00
#8F8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8F8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8AEB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8AEB#FFFFFF#000000##000000
##8F8AEB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#759DAF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f8aeb;
/* rgb */ color: rgb(143, 138, 235);
/* oklch */ color: oklch(67.9% 0.141 284.3);
Tailwind
colors: {
  custom: {
    50: '#b3acf2',
    500: '#8f8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8f8aeb;
$custom-light: #b3acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8aeb",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 243.093,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67926,
    "c": 0.14081,
    "h": 284.3
  },
  "luminance": 0.30015
}

Semantic roles & 50–950 ramp

primary
#8F8AEB
secondary
#F1F2D9
accent
#D313C9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8F8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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