#8F8EE2#8F8EE2

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

Color values

HEX#8F8EE2
RGBrgb(143, 142, 226)
HSLhsl(241, 59%, 72%)
HSVhsv(241, 37%, 89%)
CMYKcmyk(36.7%, 37.2%, 0%, 11.4%)
CIE-LABlab(62.23, 20.23, -42.55)
CIE-LCHlch(62.23, 47.11, 295.43°)
OKLaboklab(68.22% 0.028 -0.1193)
OKLCHoklch(68.22% 0.123 283.2)
XYZxyz(34.7243, 30.6754, 76.0281)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8EE2 #E1E28E
analogous
#8EB7E2 #8F8EE2 #B98EE2
triadic
#8F8EE2 #E28F8E #8EE28F
tetradic
#8F8EE2 #E28EB7 #E1E28E #8EE2B9
square
#8F8EE2 #E28EB7 #E1E28E #8EE2B9
split-complementary
#8F8EE2 #E2B98E #B7E28E
monochromatic
#3432C3 #5F5DD6 #8F8EE2 #BFBFEE #E7E7F9

Accessibility & contrast

On white

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

On black

7.14
#8F8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8EE2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8EE2#FFFFFF#000000##000000
##8F8EE21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7399E5
Deuteranopia (green-blind)
#6F94E0
Tritanopia (blue-blind)
#789EAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f8ee2;
/* rgb */ color: rgb(143, 142, 226);
/* oklch */ color: oklch(68.2% 0.123 283.2);
Tailwind
colors: {
  custom: {
    50: '#b2afeb',
    500: '#8f8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #8f8ee2;
$custom-light: #b2afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8ee2",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 240.714,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68217,
    "c": 0.12255,
    "h": 283.2
  },
  "luminance": 0.30677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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