#8397F7#8397F7

#8397F7 is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.2% C 0.142 H 273.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8397F7
RGBrgb(131, 151, 247)
HSLhsl(230, 88%, 74%)
HSVhsv(230, 47%, 97%)
CMYKcmyk(47%, 38.9%, 0%, 3.1%)
CIE-LABlab(64.70, 17.92, -50.29)
CIE-LCHlch(64.70, 53.39, 289.61°)
OKLaboklab(70.23% 0.0082 -0.1421)
OKLCHoklch(70.23% 0.142 273.3)
XYZxyz(37.2099, 33.6718, 92.5163)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397F7 #F7E383
analogous
#83D1F7 #8397F7 #A983F7
triadic
#8397F7 #F78397 #97F783
tetradic
#8397F7 #F783D1 #F7E383 #83F7A9
square
#8397F7 #F783D1 #F7E383 #83F7A9
split-complementary
#8397F7 #F7A983 #D1F783
monochromatic
#1037F0 #4A67F3 #8397F7 #BCC7FB #E2E7FD

Accessibility & contrast

On white

2.72
#8397F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#8397F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397F7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397F7#FFFFFF#000000##000000
##8397F71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#6898F5
Tritanopia (blue-blind)
#57ABBB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8397f7;
/* rgb */ color: rgb(131, 151, 247);
/* oklch */ color: oklch(70.2% 0.142 273.3);
Tailwind
colors: {
  custom: {
    50: '#adb5fa',
    500: '#8397f7',
    950: '#000000',
  },
}
SCSS
$custom: #8397f7;
$custom-light: #adb5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8397f7",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 229.655,
    "s": 87.879,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70228,
    "c": 0.1423,
    "h": 273.3
  },
  "luminance": 0.33674
}

Semantic roles & 50–950 ramp

primary
#8397F7
secondary
#F5F0D6
accent
#BD01E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8397F7

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

Preview Lab → · Contrast checker → · Palette generator →

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