#8F97F3#8F97F3

#8F97F3 is a light, vivid blue. Relative luminance 0.344; OKLCH L 70.8% C 0.134 H 278.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8F97F3
RGBrgb(143, 151, 243)
HSLhsl(235, 81%, 76%)
HSVhsv(235, 41%, 95%)
CMYKcmyk(41.2%, 37.9%, 0%, 4.7%)
CIE-LABlab(65.31, 19.68, -47.08)
CIE-LCHlch(65.31, 51.03, 292.69°)
OKLaboklab(70.84% 0.0201 -0.1325)
OKLCHoklch(70.84% 0.134 278.6)
XYZxyz(38.5672, 34.4422, 89.3925)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F97F3 #F3EB8F
analogous
#8FC9F3 #8F97F3 #B98FF3
triadic
#8F97F3 #F38F97 #97F38F
tetradic
#8F97F3 #F38FC9 #F3EB8F #8FF3B9
square
#8F97F3 #F38FC9 #F3EB8F #8FF3B9
split-complementary
#8F97F3 #F3B98F #C9F38F
monochromatic
#2030E7 #5864ED #8F97F3 #C6CAF9 #E3E5FC

Accessibility & contrast

On white

2.66
#8F97F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#8F97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F97F3
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F97F3#FFFFFF#000000##000000
##8F97F31.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F7
Deuteranopia (green-blind)
#709BF1
Tritanopia (blue-blind)
#70A9B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8f97f3;
/* rgb */ color: rgb(143, 151, 243);
/* oklch */ color: oklch(70.8% 0.134 278.6);
Tailwind
colors: {
  custom: {
    50: '#b4b5f7',
    500: '#8f97f3',
    950: '#000000',
  },
}
SCSS
$custom: #8f97f3;
$custom-light: #b4b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f97f3",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 235.2,
    "s": 80.645,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70839,
    "c": 0.13397,
    "h": 278.6
  },
  "luminance": 0.34444
}

Semantic roles & 50–950 ramp

primary
#8F97F3
secondary
#F4F2D7
accent
#CC09DD
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8F97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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