#8F8EFD#8F8EFD

#8F8EFD is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.7% C 0.160 H 281.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8F8EFD
RGBrgb(143, 142, 253)
HSLhsl(241, 97%, 77%)
HSVhsv(241, 44%, 99%)
CMYKcmyk(43.5%, 43.9%, 0%, 0.8%)
CIE-LABlab(63.57, 27.70, -55.32)
CIE-LCHlch(63.57, 61.86, 296.60°)
OKLaboklab(69.67% 0.0328 -0.1565)
OKLCHoklch(69.67% 0.16 281.8)
XYZxyz(38.7251, 32.2757, 97.0988)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8EFD #FCFD8E
analogous
#8EC4FD #8F8EFD #C78EFD
triadic
#8F8EFD #FD8F8E #8EFD8F
tetradic
#8F8EFD #FD8EC4 #FCFD8E #8EFDC7
square
#8F8EFD #FD8EC4 #FCFD8E #8EFDC7
split-complementary
#8F8EFD #FDC78E #C4FD8E
monochromatic
#1816FB #5352FC #8F8EFD #CBCAFE #E1E1FE

Accessibility & contrast

On white

2.82
#8F8EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#8F8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8EFD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8EFD#FFFFFF#000000##000000
##8F8EFD1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#6CA5B9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8f8efd;
/* rgb */ color: rgb(143, 142, 253);
/* oklch */ color: oklch(69.7% 0.160 281.8);
Tailwind
colors: {
  custom: {
    50: '#b5affe',
    500: '#8f8efd',
    950: '#000000',
  },
}
SCSS
$custom: #8f8efd;
$custom-light: #b5affe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8efd",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 240.541,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.69673,
    "c": 0.15994,
    "h": 281.8
  },
  "luminance": 0.32277
}

Semantic roles & 50–950 ramp

primary
#8F8EFD
secondary
#F6F7D4
accent
#E600E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #8F8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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