#8974FE#8974FE

#8974FE is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.7% C 0.197 H 286.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8974FE
RGBrgb(137, 116, 254)
HSLhsl(249, 99%, 73%)
HSVhsv(249, 54%, 100%)
CMYKcmyk(46.1%, 54.3%, 0%, 0.4%)
CIE-LABlab(57.04, 41.66, -66.35)
CIE-LCHlch(57.04, 78.34, 302.12°)
OKLaboklab(64.67% 0.056 -0.1892)
OKLCHoklch(64.67% 0.197 286.5)
XYZxyz(34.4461, 24.9634, 96.7501)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974FE #E9FE74
analogous
#74A4FE #8974FE #CE74FE
triadic
#8974FE #FE8974 #74FE89
tetradic
#8974FE #FE74A4 #E9FE74 #74FECE
square
#8974FE #FE74A4 #E9FE74 #74FECE
split-complementary
#8974FE #FECE74 #A4FE74
monochromatic
#2702F6 #5537FE #8974FE #BDB1FE #E5E1FF

Accessibility & contrast

On white

3.50
#8974FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8974FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974FE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974FE#FFFFFF#000000##000000
##8974FE1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#258DFF
Deuteranopia (green-blind)
#2285FB
Tritanopia (blue-blind)
#6392AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8974fe;
/* rgb */ color: rgb(137, 116, 254);
/* oklch */ color: oklch(64.7% 0.197 286.5);
Tailwind
colors: {
  custom: {
    50: '#b29cff',
    500: '#8974fe',
    950: '#000000',
  },
}
SCSS
$custom: #8974fe;
$custom-light: #b29cff;
$custom-dark: #000000;
JSON
{
  "hex": "#8974fe",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 249.13,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64674,
    "c": 0.19729,
    "h": 286.5
  },
  "luminance": 0.24965
}

Semantic roles & 50–950 ramp

primary
#8974FE
secondary
#F2F7D4
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8974FE

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

Preview Lab → · Contrast checker → · Palette generator →

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