#8197FE#8197FE

#8197FE is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.5% C 0.152 H 272.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8197FE
RGBrgb(129, 151, 254)
HSLhsl(229, 98%, 75%)
HSVhsv(229, 49%, 100%)
CMYKcmyk(49.2%, 40.6%, 0%, 0.4%)
CIE-LABlab(64.93, 19.54, -53.77)
CIE-LCHlch(64.93, 57.21, 289.97°)
OKLaboklab(70.48% 0.0075 -0.1523)
OKLCHoklch(70.48% 0.152 272.8)
XYZxyz(38.0036, 33.9537, 98.2979)
Luminance0.3396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8197FE #FEE881
analogous
#81D5FE #8197FE #A981FE
triadic
#8197FE #FE8197 #97FE81
tetradic
#8197FE #FE81D5 #FEE881 #81FEA9
square
#8197FE #FE81D5 #FEE881 #81FEA9
split-complementary
#8197FE #FEA981 #D5FE81
monochromatic
#0833FD #4465FE #8197FE #BEC9FE #E1E6FF

Accessibility & contrast

On white

2.70
#8197FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#8197FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8197FE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8197FE#FFFFFF#000000##000000
##8197FE1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#4DADBE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8197fe;
/* rgb */ color: rgb(129, 151, 254);
/* oklch */ color: oklch(70.5% 0.152 272.8);
Tailwind
colors: {
  custom: {
    50: '#acb5ff',
    500: '#8197fe',
    950: '#000000',
  },
}
SCSS
$custom: #8197fe;
$custom-light: #acb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8197fe",
  "rgb": {
    "r": 129,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 229.44,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70482,
    "c": 0.15245,
    "h": 272.8
  },
  "luminance": 0.33956
}

Semantic roles & 50–950 ramp

primary
#8197FE
secondary
#F7F1D4
accent
#BD00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8197FE

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

Preview Lab → · Contrast checker → · Palette generator →

#8197FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva