#8A97F2#8A97F2

#8A97F2 is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.4% C 0.134 H 276.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8A97F2
RGBrgb(138, 151, 242)
HSLhsl(233, 80%, 75%)
HSVhsv(233, 43%, 95%)
CMYKcmyk(43%, 37.6%, 0%, 5.1%)
CIE-LABlab(64.92, 18.16, -47.17)
CIE-LCHlch(64.92, 50.55, 291.05°)
OKLaboklab(70.43% 0.0145 -0.1328)
OKLCHoklch(70.43% 0.134 276.2)
XYZxyz(37.5700, 33.9454, 88.5597)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97F2 #F2E58A
analogous
#8ACBF2 #8A97F2 #B18AF2
triadic
#8A97F2 #F28A97 #97F28A
tetradic
#8A97F2 #F28ACB #F2E58A #8AF2B1
square
#8A97F2 #F28ACB #F2E58A #8AF2B1
split-complementary
#8A97F2 #F2B18A #CBF28A
monochromatic
#1C35E6 #5366EC #8A97F2 #C1C8F8 #E3E7FC

Accessibility & contrast

On white

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

On black

7.79
#8A97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97F2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97F2#FFFFFF#000000##000000
##8A97F21.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)
#76A2F6
Deuteranopia (green-blind)
#6E9AF0
Tritanopia (blue-blind)
#67A9B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a97f2;
/* rgb */ color: rgb(138, 151, 242);
/* oklch */ color: oklch(70.4% 0.134 276.2);
Tailwind
colors: {
  custom: {
    50: '#b0b5f7',
    500: '#8a97f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a97f2;
$custom-light: #b0b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97f2",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 232.5,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70434,
    "c": 0.13362,
    "h": 276.2
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#8A97F2
secondary
#F4F0D7
accent
#C209DC
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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