#8F8EE3#8F8EE3

#8F8EE3 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.124 H 283.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F8EE3
RGBrgb(143, 142, 227)
HSLhsl(241, 60%, 72%)
HSVhsv(241, 37%, 89%)
CMYKcmyk(37%, 37.4%, 0%, 11%)
CIE-LABlab(62.28, 20.50, -43.03)
CIE-LCHlch(62.28, 47.66, 295.47°)
OKLaboklab(68.27% 0.0282 -0.1207)
OKLCHoklch(68.27% 0.124 283.2)
XYZxyz(34.8619, 30.7305, 76.7529)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8EE3 #E2E38E
analogous
#8EB7E3 #8F8EE3 #BA8EE3
triadic
#8F8EE3 #E38F8E #8EE38F
tetradic
#8F8EE3 #E38EB7 #E2E38E #8EE3BA
square
#8F8EE3 #E38EB7 #E2E38E #8EE3BA
split-complementary
#8F8EE3 #E3BA8E #B7E38E
monochromatic
#3331C6 #5E5DD7 #8F8EE3 #C0BFEF #E7E6F9

Accessibility & contrast

On white

2.94
#8F8EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8F8EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8EE3
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8EE3#FFFFFF#000000##000000
##8F8EE31.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7299E6
Deuteranopia (green-blind)
#6F94E1
Tritanopia (blue-blind)
#789EAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f8ee3;
/* rgb */ color: rgb(143, 142, 227);
/* oklch */ color: oklch(68.3% 0.124 283.2);
Tailwind
colors: {
  custom: {
    50: '#b3afec',
    500: '#8f8ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8f8ee3;
$custom-light: #b3afec;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8ee3",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 240.706,
    "s": 60.284,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68268,
    "c": 0.12395,
    "h": 283.2
  },
  "luminance": 0.30732
}

Semantic roles & 50–950 ramp

primary
#8F8EE3
secondary
#F0F0DB
accent
#C81EC6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8F8EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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