#8396F7#8396F7

#8396F7 is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.0% C 0.144 H 273.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8396F7
RGBrgb(131, 150, 247)
HSLhsl(230, 88%, 74%)
HSVhsv(230, 47%, 97%)
CMYKcmyk(47%, 39.3%, 0%, 3.1%)
CIE-LABlab(64.44, 18.50, -50.70)
CIE-LCHlch(64.44, 53.97, 290.05°)
OKLaboklab(70.03% 0.0094 -0.1432)
OKLCHoklch(70.03% 0.144 273.8)
XYZxyz(37.0497, 33.3513, 92.4628)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8396F7 #F7E483
analogous
#83D0F7 #8396F7 #AA83F7
triadic
#8396F7 #F78396 #96F783
tetradic
#8396F7 #F783D0 #F7E483 #83F7AA
square
#8396F7 #F783D0 #F7E483 #83F7AA
split-complementary
#8396F7 #F7AA83 #D0F783
monochromatic
#1035F0 #4A65F3 #8396F7 #BCC7FB #E2E7FD

Accessibility & contrast

On white

2.74
#8396F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#8396F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8396F7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8396F7#FFFFFF#000000##000000
##8396F71.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#57AABB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8396f7;
/* rgb */ color: rgb(131, 150, 247);
/* oklch */ color: oklch(70.0% 0.144 273.8);
Tailwind
colors: {
  custom: {
    50: '#adb4fa',
    500: '#8396f7',
    950: '#000000',
  },
}
SCSS
$custom: #8396f7;
$custom-light: #adb4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8396f7",
  "rgb": {
    "r": 131,
    "g": 150,
    "b": 247
  },
  "hsl": {
    "h": 230.172,
    "s": 87.879,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70031,
    "c": 0.14356,
    "h": 273.8
  },
  "luminance": 0.33353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8396F7

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

Preview Lab → · Contrast checker → · Palette generator →

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