#8977F2#8977F2

#8977F2 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.4% C 0.178 H 287.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8977F2
RGBrgb(137, 119, 242)
HSLhsl(249, 83%, 71%)
HSVhsv(249, 51%, 95%)
CMYKcmyk(43.4%, 50.8%, 0%, 5.1%)
CIE-LABlab(57.00, 36.54, -59.77)
CIE-LCHlch(57.00, 70.06, 301.44°)
OKLaboklab(64.41% 0.052 -0.1699)
OKLCHoklch(64.41% 0.178 287)
XYZxyz(32.9358, 24.9215, 87.0621)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8977F2 #E0F277
analogous
#77A3F2 #8977F2 #C677F2
triadic
#8977F2 #F28977 #77F289
tetradic
#8977F2 #F277A3 #E0F277 #77F2C6
square
#8977F2 #F277A3 #E0F277 #77F2C6
split-complementary
#8977F2 #F2C677 #A3F277
monochromatic
#3215DA #593FED #8977F2 #B9AFF7 #E7E3FC

Accessibility & contrast

On white

3.51
#8977F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8977F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8977F2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8977F2#FFFFFF#000000##000000
##8977F21.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#3E85EF
Tritanopia (blue-blind)
#6991A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8977f2;
/* rgb */ color: rgb(137, 119, 242);
/* oklch */ color: oklch(64.4% 0.178 287.0);
Tailwind
colors: {
  custom: {
    50: '#b19ef7',
    500: '#8977f2',
    950: '#000000',
  },
}
SCSS
$custom: #8977f2;
$custom-light: #b19ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8977f2",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 248.78,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6441,
    "c": 0.17764,
    "h": 287
  },
  "luminance": 0.24923
}

Semantic roles & 50–950 ramp

primary
#8977F2
secondary
#EEF3D2
accent
#DF07BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8977F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8977F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva