#8797FA#8797FA

#8797FA is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.7% C 0.145 H 275.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8797FA
RGBrgb(135, 151, 250)
HSLhsl(232, 92%, 75%)
HSVhsv(232, 46%, 98%)
CMYKcmyk(46%, 39.6%, 0%, 2%)
CIE-LABlab(65.11, 19.73, -51.27)
CIE-LCHlch(65.11, 54.94, 291.05°)
OKLaboklab(70.66% 0.013 -0.1448)
OKLCHoklch(70.66% 0.145 275.1)
XYZxyz(38.3083, 34.1841, 95.0036)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8797FA #FAEA87
analogous
#87D0FA #8797FA #B087FA
triadic
#8797FA #FA8797 #97FA87
tetradic
#8797FA #FA87D0 #FAEA87 #87FAB0
square
#8797FA #FA87D0 #FAEA87 #87FAB0
split-complementary
#8797FA #FAB087 #D0FA87
monochromatic
#1131F5 #4C64F8 #8797FA #C2CAFC #E2E6FE

Accessibility & contrast

On white

2.68
#8797FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#8797FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8797FA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8797FA#FFFFFF#000000##000000
##8797FA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#5DACBC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8797fa;
/* rgb */ color: rgb(135, 151, 250);
/* oklch */ color: oklch(70.7% 0.145 275.1);
Tailwind
colors: {
  custom: {
    50: '#afb5fc',
    500: '#8797fa',
    950: '#000000',
  },
}
SCSS
$custom: #8797fa;
$custom-light: #afb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8797fa",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 231.652,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70656,
    "c": 0.14542,
    "h": 275.1
  },
  "luminance": 0.34186
}

Semantic roles & 50–950 ramp

primary
#8797FA
secondary
#F6F1D5
accent
#C600E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8797FA

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

Preview Lab → · Contrast checker → · Palette generator →

#8797FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva