#8F8DEF#8F8DEF

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

Color values

HEX#8F8DEF
RGBrgb(143, 141, 239)
HSLhsl(241, 75%, 75%)
HSVhsv(241, 41%, 94%)
CMYKcmyk(40.2%, 41%, 0%, 6.3%)
CIE-LABlab(62.61, 24.36, -49.15)
CIE-LCHlch(62.61, 54.86, 296.37°)
OKLaboklab(68.71% 0.0318 -0.1385)
OKLCHoklch(68.71% 0.142 282.9)
XYZxyz(36.4281, 31.1200, 85.7320)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8DEF #EDEF8D
analogous
#8DBCEF #8F8DEF #C08DEF
triadic
#8F8DEF #EF8F8D #8DEF8F
tetradic
#8F8DEF #EF8DBC #EDEF8D #8DEFC0
square
#8F8DEF #EF8DBC #EDEF8D #8DEFC0
split-complementary
#8F8DEF #EFC08D #BCEF8D
monochromatic
#2622E0 #5A57E7 #8F8DEF #C4C3F7 #E5E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8DEF#FFFFFF#000000##000000
##8F8DEF1.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)
#6A9BF3
Deuteranopia (green-blind)
#6694ED
Tritanopia (blue-blind)
#73A0B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f8def;
/* rgb */ color: rgb(143, 141, 239);
/* oklch */ color: oklch(68.7% 0.142 282.9);
Tailwind
colors: {
  custom: {
    50: '#b4aef5',
    500: '#8f8def',
    950: '#000000',
  },
}
SCSS
$custom: #8f8def;
$custom-light: #b4aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8def",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 241.224,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68709,
    "c": 0.14212,
    "h": 282.9
  },
  "luminance": 0.31121
}

Semantic roles & 50–950 ramp

primary
#8F8DEF
secondary
#F2F3D8
accent
#D80ED3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8F8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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