#8D97FF#8D97FF

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

Color values

HEX#8D97FF
RGBrgb(141, 151, 255)
HSLhsl(235, 100%, 78%)
HSVhsv(235, 45%, 100%)
CMYKcmyk(44.7%, 40.8%, 0%, 0%)
CIE-LABlab(65.76, 22.58, -52.94)
CIE-LCHlch(65.76, 57.56, 293.10°)
OKLaboklab(71.34% 0.0202 -0.1496)
OKLCHoklch(71.34% 0.151 277.7)
XYZxyz(40.0956, 35.0139, 99.2340)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D97FF #FFF58D
analogous
#8DD0FF #8D97FF #BC8DFF
triadic
#8D97FF #FF8D97 #97FF8D
tetradic
#8D97FF #FF8DD0 #FFF58D #8DFFBC
square
#8D97FF #FF8DD0 #FFF58D #8DFFBC
split-complementary
#8D97FF #FFBC8D #D0FF8D
monochromatic
#1327FF #505FFF #8D97FF #CACFFF #E0E3FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D97FF#FFFFFF#000000##000000
##8D97FF1.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)
#70A4FF
Deuteranopia (green-blind)
#679CFD
Tritanopia (blue-blind)
#66ACBF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8d97ff;
/* rgb */ color: rgb(141, 151, 255);
/* oklch */ color: oklch(71.3% 0.151 277.7);
Tailwind
colors: {
  custom: {
    50: '#b3b5ff',
    500: '#8d97ff',
    950: '#000000',
  },
}
SCSS
$custom: #8d97ff;
$custom-light: #b3b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d97ff",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 234.737,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71338,
    "c": 0.15096,
    "h": 277.7
  },
  "luminance": 0.35016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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