#8F8DF7#8F8DF7

#8F8DF7 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.1% C 0.153 H 282.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8F8DF7
RGBrgb(143, 141, 247)
HSLhsl(241, 87%, 76%)
HSVhsv(241, 43%, 97%)
CMYKcmyk(42.1%, 42.9%, 0%, 3.1%)
CIE-LABlab(63.01, 26.59, -52.91)
CIE-LCHlch(63.01, 59.22, 296.68°)
OKLaboklab(69.15% 0.0331 -0.1495)
OKLCHoklch(69.15% 0.153 282.5)
XYZxyz(37.6362, 31.6032, 92.0946)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8DF7 #F5F78D
analogous
#8DC0F7 #8F8DF7 #C48DF7
triadic
#8F8DF7 #F78F8D #8DF78F
tetradic
#8F8DF7 #F78DC0 #F5F78D #8DF7C4
square
#8F8DF7 #F78DC0 #F5F78D #8DF7C4
split-complementary
#8F8DF7 #F7C48D #C0F78D
monochromatic
#1F1BEF #5754F3 #8F8DF7 #C7C6FB #E3E2FD

Accessibility & contrast

On white

2.87
#8F8DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8F8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8DF7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8DF7#FFFFFF#000000##000000
##8F8DF71.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#6095F5
Tritanopia (blue-blind)
#6FA2B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8f8df7;
/* rgb */ color: rgb(143, 141, 247);
/* oklch */ color: oklch(69.1% 0.153 282.5);
Tailwind
colors: {
  custom: {
    50: '#b4aefa',
    500: '#8f8df7',
    950: '#000000',
  },
}
SCSS
$custom: #8f8df7;
$custom-light: #b4aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8df7",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 241.132,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69149,
    "c": 0.15313,
    "h": 282.5
  },
  "luminance": 0.31605
}

Semantic roles & 50–950 ramp

primary
#8F8DF7
secondary
#F4F5D6
accent
#E302DF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8F8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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