#8397ED#8397ED

#8397ED is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.7% C 0.128 H 272.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8397ED
RGBrgb(131, 151, 237)
HSLhsl(229, 75%, 72%)
HSVhsv(229, 45%, 93%)
CMYKcmyk(44.7%, 36.3%, 0%, 7.1%)
CIE-LABlab(64.22, 15.01, -45.56)
CIE-LCHlch(64.22, 47.97, 288.24°)
OKLaboklab(69.7% 0.0061 -0.1283)
OKLCHoklch(69.7% 0.128 272.7)
XYZxyz(35.7080, 33.0710, 84.6061)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8397ED #EDD983
analogous
#83CCED #8397ED #A483ED
triadic
#8397ED #ED8397 #97ED83
tetradic
#8397ED #ED83CC #EDD983 #83EDA4
square
#8397ED #ED83CC #EDD983 #83EDA4
split-complementary
#8397ED #EDA483 #CCED83
monochromatic
#1F42D6 #4E6AE5 #8397ED #B8C4F5 #E4E9FB

Accessibility & contrast

On white

2.76
#8397ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#8397ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8397ED
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8397ED#FFFFFF#000000##000000
##8397ED1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#6E98EB
Tritanopia (blue-blind)
#5DA9B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8397ed;
/* rgb */ color: rgb(131, 151, 237);
/* oklch */ color: oklch(69.7% 0.128 272.7);
Tailwind
colors: {
  custom: {
    50: '#acb5f3',
    500: '#8397ed',
    950: '#000000',
  },
}
SCSS
$custom: #8397ed;
$custom-light: #acb5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8397ed",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 228.679,
    "s": 74.648,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69699,
    "c": 0.12843,
    "h": 272.7
  },
  "luminance": 0.33073
}

Semantic roles & 50–950 ramp

primary
#8397ED
secondary
#F3EED8
accent
#B10FD7
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #8397ED

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

Preview Lab → · Contrast checker → · Palette generator →

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