#8F8EE4#8F8EE4

#8F8EE4 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.3% C 0.125 H 283.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8F8EE4
RGBrgb(143, 142, 228)
HSLhsl(241, 61%, 73%)
HSVhsv(241, 38%, 89%)
CMYKcmyk(37.3%, 37.7%, 0%, 10.6%)
CIE-LABlab(62.33, 20.77, -43.51)
CIE-LCHlch(62.33, 48.21, 295.52°)
OKLaboklab(68.32% 0.0284 -0.1221)
OKLCHoklch(68.32% 0.125 283.1)
XYZxyz(35.0003, 30.7858, 77.4819)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8EE4 #E3E48E
analogous
#8EB8E4 #8F8EE4 #BA8EE4
triadic
#8F8EE4 #E48F8E #8EE48F
tetradic
#8F8EE4 #E48EB8 #E3E48E #8EE4BA
square
#8F8EE4 #E48EB8 #E3E48E #8EE4BA
split-complementary
#8F8EE4 #E4BA8E #B8E48E
monochromatic
#3230C8 #5E5DD8 #8F8EE4 #C0BFF0 #E7E6F9

Accessibility & contrast

On white

2.93
#8F8EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8F8EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8EE4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8EE4#FFFFFF#000000##000000
##8F8EE41.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE7
Deuteranopia (green-blind)
#6E94E2
Tritanopia (blue-blind)
#779FAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f8ee4;
/* rgb */ color: rgb(143, 142, 228);
/* oklch */ color: oklch(68.3% 0.125 283.1);
Tailwind
colors: {
  custom: {
    50: '#b3afed',
    500: '#8f8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #8f8ee4;
$custom-light: #b3afed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8ee4",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 240.698,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6832,
    "c": 0.12536,
    "h": 283.1
  },
  "luminance": 0.30787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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