#8F97FC#8F97FC

#8F97FC is a light, vivid blue. Relative luminance 0.350; OKLCH L 71.3% C 0.146 H 278.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8F97FC
RGBrgb(143, 151, 252)
HSLhsl(236, 95%, 77%)
HSVhsv(236, 43%, 99%)
CMYKcmyk(43.3%, 40.1%, 0%, 1.2%)
CIE-LABlab(65.75, 22.21, -51.32)
CIE-LCHlch(65.75, 55.91, 293.40°)
OKLaboklab(71.32% 0.0218 -0.1448)
OKLCHoklch(71.32% 0.146 278.6)
XYZxyz(39.9597, 34.9992, 96.7266)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F97FC #FCF48F
analogous
#8FCEFC #8F97FC #BD8FFC
triadic
#8F97FC #FC8F97 #97FC8F
tetradic
#8F97FC #FC8FCE #FCF48F #8FFCBD
square
#8F97FC #FC8FCE #FCF48F #8FFCBD
split-complementary
#8F97FC #FCBD8F #CEFC8F
monochromatic
#1828F9 #5360FA #8F97FC #CBCEFE #E1E3FE

Accessibility & contrast

On white

2.62
#8F97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#8F97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F97FC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F97FC#FFFFFF#000000##000000
##8F97FC1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#6BACBD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8f97fc;
/* rgb */ color: rgb(143, 151, 252);
/* oklch */ color: oklch(71.3% 0.146 278.6);
Tailwind
colors: {
  custom: {
    50: '#b4b5fe',
    500: '#8f97fc',
    950: '#000000',
  },
}
SCSS
$custom: #8f97fc;
$custom-light: #b4b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f97fc",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 235.596,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71316,
    "c": 0.14644,
    "h": 278.6
  },
  "luminance": 0.35001
}

Semantic roles & 50–950 ramp

primary
#8F97FC
secondary
#F6F4D5
accent
#D500E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8F97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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