#8F8AEC#8F8AEC

#8F8AEC is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.142 H 284.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F8AEC
RGBrgb(143, 138, 236)
HSLhsl(243, 72%, 73%)
HSVhsv(243, 42%, 93%)
CMYKcmyk(39.4%, 41.5%, 0%, 7.5%)
CIE-LABlab(61.72, 25.28, -48.91)
CIE-LCHlch(61.72, 55.05, 297.33°)
OKLaboklab(67.98% 0.035 -0.1378)
OKLCHoklch(67.98% 0.142 284.3)
XYZxyz(35.5522, 30.0714, 83.2718)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8AEC #E7EC8A
analogous
#8AB6EC #8F8AEC #C08AEC
triadic
#8F8AEC #EC8F8A #8AEC8F
tetradic
#8F8AEC #EC8AB6 #E7EC8A #8AECC0
square
#8F8AEC #EC8AB6 #E7EC8A #8AECC0
split-complementary
#8F8AEC #ECC08A #B6EC8A
monochromatic
#2C23D8 #5D55E3 #8F8AEC #C1BFF5 #E6E5FB

Accessibility & contrast

On white

2.99
#8F8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#8F8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8AEC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8AEC#FFFFFF#000000##000000
##8F8AEC1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#6492EA
Tritanopia (blue-blind)
#749DB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f8aec;
/* rgb */ color: rgb(143, 138, 236);
/* oklch */ color: oklch(68.0% 0.142 284.3);
Tailwind
colors: {
  custom: {
    50: '#b3acf2',
    500: '#8f8aec',
    950: '#000000',
  },
}
SCSS
$custom: #8f8aec;
$custom-light: #b3acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8aec",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 243.061,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67981,
    "c": 0.1422,
    "h": 284.3
  },
  "luminance": 0.30073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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