#8C97FF#8C97FF

#8C97FF is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.3% C 0.151 H 277.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8C97FF
RGBrgb(140, 151, 255)
HSLhsl(234, 100%, 77%)
HSVhsv(234, 45%, 100%)
CMYKcmyk(45.1%, 40.8%, 0%, 0%)
CIE-LABlab(65.69, 22.35, -53.06)
CIE-LCHlch(65.69, 57.57, 292.84°)
OKLaboklab(71.27% 0.0191 -0.1499)
OKLCHoklch(71.27% 0.151 277.3)
XYZxyz(39.9263, 34.9266, 99.2261)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C97FF #FFF48C
analogous
#8CD0FF #8C97FF #BB8CFF
triadic
#8C97FF #FF8C97 #97FF8C
tetradic
#8C97FF #FF8CD0 #FFF48C #8CFFBB
square
#8C97FF #FF8CD0 #FFF48C #8CFFBB
split-complementary
#8C97FF #FFBB8C #D0FF8C
monochromatic
#1228FF #4F60FF #8C97FF #C9CEFF #E0E3FF

Accessibility & contrast

On white

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

On black

7.99
#8C97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C97FF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C97FF#FFFFFF#000000##000000
##8C97FF1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#679BFD
Tritanopia (blue-blind)
#64ACBF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8c97ff;
/* rgb */ color: rgb(140, 151, 255);
/* oklch */ color: oklch(71.3% 0.151 277.3);
Tailwind
colors: {
  custom: {
    50: '#b3b5ff',
    500: '#8c97ff',
    950: '#000000',
  },
}
SCSS
$custom: #8c97ff;
$custom-light: #b3b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8c97ff",
  "rgb": {
    "r": 140,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 234.261,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71269,
    "c": 0.15117,
    "h": 277.3
  },
  "luminance": 0.34929
}

Semantic roles & 50–950 ramp

primary
#8C97FF
secondary
#F7F4D4
accent
#D000E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8C97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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