#8FA7FF#8FA7FF

#8FA7FF is a light, vivid blue. Relative luminance 0.407; OKLCH L 74.6% C 0.130 H 271.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#8FA7FF
RGBrgb(143, 167, 255)
HSLhsl(227, 100%, 78%)
HSVhsv(227, 44%, 100%)
CMYKcmyk(43.9%, 34.5%, 0%, 0%)
CIE-LABlab(69.96, 13.88, -46.31)
CIE-LCHlch(69.96, 48.34, 286.69°)
OKLaboklab(74.6% 0.0031 -0.1301)
OKLCHoklch(74.6% 0.13 271.4)
XYZxyz(43.1908, 40.6947, 100.1674)
Luminance0.4070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA7FF #FFE78F
analogous
#8FDFFF #8FA7FF #AF8FFF
triadic
#8FA7FF #FF8FA7 #A7FF8F
tetradic
#8FA7FF #FF8FDF #FFE78F #8FFFAF
square
#8FA7FF #FF8FDF #FFE78F #8FFFAF
split-complementary
#8FA7FF #FFAF8F #DFFF8F
monochromatic
#1547FF #5277FF #8FA7FF #CCD7FF #E0E7FF

Accessibility & contrast

On white

2.30
#8FA7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#8FA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA7FF
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA7FF#FFFFFF#000000##000000
##8FA7FF1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#7DA7FD
Tritanopia (blue-blind)
#67B9C7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8fa7ff;
/* rgb */ color: rgb(143, 167, 255);
/* oklch */ color: oklch(74.6% 0.130 271.4);
Tailwind
colors: {
  custom: {
    50: '#b4c0ff',
    500: '#8fa7ff',
    950: '#000000',
  },
}
SCSS
$custom: #8fa7ff;
$custom-light: #b4c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa7ff",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 227.143,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74601,
    "c": 0.13019,
    "h": 271.4
  },
  "luminance": 0.40697
}

Semantic roles & 50–950 ramp

primary
#8FA7FF
secondary
#F7F0D4
accent
#B400E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8FA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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