#8F97FA#8F97FA

#8F97FA is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.2% C 0.144 H 278.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8F97FA
RGBrgb(143, 151, 250)
HSLhsl(236, 91%, 77%)
HSVhsv(236, 43%, 98%)
CMYKcmyk(42.8%, 39.6%, 0%, 2%)
CIE-LABlab(65.65, 21.64, -50.38)
CIE-LCHlch(65.65, 54.83, 293.25°)
OKLaboklab(71.21% 0.0214 -0.1421)
OKLCHoklch(71.21% 0.144 278.6)
XYZxyz(39.6445, 34.8731, 95.0662)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F97FA #FAF28F
analogous
#8FCDFA #8F97FA #BD8FFA
triadic
#8F97FA #FA8F97 #97FA8F
tetradic
#8F97FA #FA8FCD #FAF28F #8FFABD
square
#8F97FA #FA8FCD #FAF28F #8FFABD
split-complementary
#8F97FA #FABD8F #CDFA8F
monochromatic
#1A2AF5 #5461F7 #8F97FA #CACDFD #E2E4FE

Accessibility & contrast

On white

2.63
#8F97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#8F97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F97FA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F97FA#FFFFFF#000000##000000
##8F97FA1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#6CABBC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8f97fa;
/* rgb */ color: rgb(143, 151, 250);
/* oklch */ color: oklch(71.2% 0.144 278.6);
Tailwind
colors: {
  custom: {
    50: '#b4b5fc',
    500: '#8f97fa',
    950: '#000000',
  },
}
SCSS
$custom: #8f97fa;
$custom-light: #b4b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f97fa",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 235.514,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71208,
    "c": 0.14368,
    "h": 278.6
  },
  "luminance": 0.34875
}

Semantic roles & 50–950 ramp

primary
#8F97FA
secondary
#F6F3D5
accent
#D400E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8F97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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