#8F7EFE#8F7EFE

#8F7EFE is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.9% C 0.183 H 286.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8F7EFE
RGBrgb(143, 126, 254)
HSLhsl(248, 98%, 75%)
HSVhsv(248, 50%, 100%)
CMYKcmyk(43.7%, 50.4%, 0%, 0.4%)
CIE-LABlab(59.81, 37.23, -61.87)
CIE-LCHlch(59.81, 72.20, 301.04°)
OKLaboklab(66.86% 0.0518 -0.1758)
OKLCHoklch(66.86% 0.183 286.4)
XYZxyz(36.6728, 27.9156, 97.2027)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7EFE #EDFE7E
analogous
#7EADFE #8F7EFE #CF7EFE
triadic
#8F7EFE #FE8F7E #7EFE8F
tetradic
#8F7EFE #FE7EAD #EDFE7E #7EFECF
square
#8F7EFE #FE7EAD #EDFE7E #7EFECF
split-complementary
#8F7EFE #FECF7E #ADFE7E
monochromatic
#2605FD #5A41FE #8F7EFE #C4BBFE #E5E1FF

Accessibility & contrast

On white

3.19
#8F7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#8F7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7EFE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7EFE#FFFFFF#000000##000000
##8F7EFE1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#428CFB
Tritanopia (blue-blind)
#6D99B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f7efe;
/* rgb */ color: rgb(143, 126, 254);
/* oklch */ color: oklch(66.9% 0.183 286.4);
Tailwind
colors: {
  custom: {
    50: '#b5a3ff',
    500: '#8f7efe',
    950: '#000000',
  },
}
SCSS
$custom: #8f7efe;
$custom-light: #b5a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7efe",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 247.969,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66859,
    "c": 0.18329,
    "h": 286.4
  },
  "luminance": 0.27917
}

Semantic roles & 50–950 ramp

primary
#8F7EFE
secondary
#F2F7D4
accent
#E600C7
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8F7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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