#8397FB#8397FB

#8397FB is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.4% C 0.148 H 273.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8397FB
RGBrgb(131, 151, 251)
HSLhsl(230, 94%, 75%)
HSVhsv(230, 48%, 98%)
CMYKcmyk(47.8%, 39.8%, 0%, 1.6%)
CIE-LABlab(64.90, 19.10, -52.16)
CIE-LCHlch(64.90, 55.55, 290.11°)
OKLaboklab(70.45% 0.009 -0.1475)
OKLCHoklch(70.45% 0.148 273.5)
XYZxyz(37.8338, 33.9213, 95.8020)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397FB #FBE783
analogous
#83D3FB #8397FB #AB83FB
triadic
#8397FB #FB8397 #97FB83
tetradic
#8397FB #FB83D3 #FBE783 #83FBAB
square
#8397FB #FB83D3 #FBE783 #83FBAB
split-complementary
#8397FB #FBAB83 #D3FB83
monochromatic
#0C34F7 #4865F9 #8397FB #BEC9FD #E1E6FE

Accessibility & contrast

On white

2.70
#8397FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#8397FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397FB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397FB#FFFFFF#000000##000000
##8397FB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#54ACBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8397fb;
/* rgb */ color: rgb(131, 151, 251);
/* oklch */ color: oklch(70.4% 0.148 273.5);
Tailwind
colors: {
  custom: {
    50: '#adb5fd',
    500: '#8397fb',
    950: '#000000',
  },
}
SCSS
$custom: #8397fb;
$custom-light: #adb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8397fb",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 230,
    "s": 93.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.1478,
    "h": 273.5
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

primary
#8397FB
secondary
#F6F1D5
accent
#BF00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8397FB

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

Preview Lab → · Contrast checker → · Palette generator →

#8397FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva