#8F8FE4#8F8FE4

#8F8FE4 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.5% C 0.124 H 282.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8F8FE4
RGBrgb(143, 143, 228)
HSLhsl(240, 61%, 73%)
HSVhsv(240, 37%, 89%)
CMYKcmyk(37.3%, 37.3%, 0%, 10.6%)
CIE-LABlab(62.58, 20.19, -43.11)
CIE-LCHlch(62.58, 47.61, 295.09°)
OKLaboklab(68.51% 0.0271 -0.1209)
OKLCHoklch(68.51% 0.124 282.6)
XYZxyz(35.1498, 31.0847, 77.5317)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8FE4 #E4E48F
analogous
#8FB9E4 #8F8FE4 #B98FE4
triadic
#8F8FE4 #E48F8F #8FE48F
tetradic
#8F8FE4 #E48FB9 #E4E48F #8FE4B9
square
#8F8FE4 #E48FB9 #E4E48F #8FE4B9
split-complementary
#8F8FE4 #E4B98F #B9E48F
monochromatic
#3030C8 #5E5ED8 #8F8FE4 #C0C0F0 #E6E6F9

Accessibility & contrast

On white

2.91
#8F8FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#8F8FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8FE4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8FE4#FFFFFF#000000##000000
##8F8FE41.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE7
Deuteranopia (green-blind)
#6F95E2
Tritanopia (blue-blind)
#779FAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f8fe4;
/* rgb */ color: rgb(143, 143, 228);
/* oklch */ color: oklch(68.5% 0.124 282.6);
Tailwind
colors: {
  custom: {
    50: '#b3afed',
    500: '#8f8fe4',
    950: '#000000',
  },
}
SCSS
$custom: #8f8fe4;
$custom-light: #b3afed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8fe4",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 240,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68513,
    "c": 0.12394,
    "h": 282.6
  },
  "luminance": 0.31086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F8FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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