#8F8EF6#8F8EF6

#8F8EF6 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.3% C 0.150 H 282.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8F8EF6
RGBrgb(143, 142, 246)
HSLhsl(241, 85%, 76%)
HSVhsv(241, 42%, 96%)
CMYKcmyk(41.9%, 42.3%, 0%, 3.5%)
CIE-LABlab(63.21, 25.73, -52.05)
CIE-LCHlch(63.21, 58.06, 296.30°)
OKLaboklab(69.28% 0.0317 -0.147)
OKLCHoklch(69.28% 0.15 282.2)
XYZxyz(37.6304, 31.8379, 91.3335)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8EF6 #F5F68E
analogous
#8EC1F6 #8F8EF6 #C38EF6
triadic
#8F8EF6 #F68F8E #8EF68F
tetradic
#8F8EF6 #F68EC1 #F5F68E #8EF6C3
square
#8F8EF6 #F68EC1 #F5F68E #8EF6C3
split-complementary
#8F8EF6 #F6C38E #C1F68E
monochromatic
#1F1DED #5755F1 #8F8EF6 #C7C7FB #E3E3FD

Accessibility & contrast

On white

2.85
#8F8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#8F8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8EF6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8EF6#FFFFFF#000000##000000
##8F8EF61.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#6395F4
Tritanopia (blue-blind)
#6FA3B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8f8ef6;
/* rgb */ color: rgb(143, 142, 246);
/* oklch */ color: oklch(69.3% 0.150 282.2);
Tailwind
colors: {
  custom: {
    50: '#b4aff9',
    500: '#8f8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #8f8ef6;
$custom-light: #b4aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8ef6",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 240.577,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69281,
    "c": 0.15037,
    "h": 282.2
  },
  "luminance": 0.31839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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