#8A97F0#8A97F0

#8A97F0 is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.3% C 0.131 H 276.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A97F0
RGBrgb(138, 151, 240)
HSLhsl(232, 77%, 74%)
HSVhsv(232, 43%, 94%)
CMYKcmyk(42.5%, 37.1%, 0%, 5.9%)
CIE-LABlab(64.82, 17.59, -46.23)
CIE-LCHlch(64.82, 49.46, 290.84°)
OKLaboklab(70.33% 0.0141 -0.1301)
OKLCHoklch(70.33% 0.131 276.2)
XYZxyz(37.2713, 33.8260, 86.9864)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97F0 #F0E38A
analogous
#8ACAF0 #8A97F0 #B08AF0
triadic
#8A97F0 #F08A97 #97F08A
tetradic
#8A97F0 #F08ACA #F0E38A #8AF0B0
square
#8A97F0 #F08ACA #F0E38A #8AF0B0
split-complementary
#8A97F0 #F0B08A #CAF08A
monochromatic
#1E37E2 #5467E9 #8A97F0 #C0C7F7 #E4E7FC

Accessibility & contrast

On white

2.70
#8A97F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#8A97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97F0
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97F0#FFFFFF#000000##000000
##8A97F01.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F4
Deuteranopia (green-blind)
#7099EE
Tritanopia (blue-blind)
#68A9B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a97f0;
/* rgb */ color: rgb(138, 151, 240);
/* oklch */ color: oklch(70.3% 0.131 276.2);
Tailwind
colors: {
  custom: {
    50: '#b0b5f5',
    500: '#8a97f0',
    950: '#000000',
  },
}
SCSS
$custom: #8a97f0;
$custom-light: #b0b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97f0",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 232.353,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7033,
    "c": 0.13083,
    "h": 276.2
  },
  "luminance": 0.33828
}

Semantic roles & 50–950 ramp

primary
#8A97F0
secondary
#F3F0D8
accent
#BF0CDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A97F0

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

Preview Lab → · Contrast checker → · Palette generator →

#8A97F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva