#8F8DF8#8F8DF8

#8F8DF8 is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.2% C 0.154 H 282.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8F8DF8
RGBrgb(143, 141, 248)
HSLhsl(241, 88%, 76%)
HSVhsv(241, 43%, 97%)
CMYKcmyk(42.3%, 43.1%, 0%, 2.7%)
CIE-LABlab(63.07, 26.87, -53.38)
CIE-LCHlch(63.07, 59.76, 296.72°)
OKLaboklab(69.21% 0.0333 -0.1509)
OKLCHoklch(69.21% 0.155 282.4)
XYZxyz(37.7909, 31.6651, 92.9095)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8DF8 #F6F88D
analogous
#8DC1F8 #8F8DF8 #C58DF8
triadic
#8F8DF8 #F88F8D #8DF88F
tetradic
#8F8DF8 #F88DC1 #F6F88D #8DF8C5
square
#8F8DF8 #F88DC1 #F6F88D #8DF8C5
split-complementary
#8F8DF8 #F8C58D #C1F88D
monochromatic
#1E1AF1 #5653F4 #8F8DF8 #C8C7FC #E3E2FD

Accessibility & contrast

On white

2.86
#8F8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#8F8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8DF8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8DF8#FFFFFF#000000##000000
##8F8DF81.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFC
Deuteranopia (green-blind)
#6095F6
Tritanopia (blue-blind)
#6EA3B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8f8df8;
/* rgb */ color: rgb(143, 141, 248);
/* oklch */ color: oklch(69.2% 0.154 282.4);
Tailwind
colors: {
  custom: {
    50: '#b4aefb',
    500: '#8f8df8',
    950: '#000000',
  },
}
SCSS
$custom: #8f8df8;
$custom-light: #b4aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8df8",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 241.121,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69205,
    "c": 0.1545,
    "h": 282.4
  },
  "luminance": 0.31667
}

Semantic roles & 50–950 ramp

primary
#8F8DF8
secondary
#F5F5D6
accent
#E500E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8F8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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