#8974F8#8974F8

#8974F8 is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.3% C 0.190 H 287.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8974F8
RGBrgb(137, 116, 248)
HSLhsl(250, 90%, 71%)
HSVhsv(250, 53%, 97%)
CMYKcmyk(44.8%, 53.2%, 0%, 2.7%)
CIE-LABlab(56.67, 39.96, -63.63)
CIE-LCHlch(56.67, 75.14, 302.13°)
OKLaboklab(64.28% 0.0558 -0.1812)
OKLCHoklch(64.28% 0.19 287.1)
XYZxyz(33.5003, 24.5851, 91.7690)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974F8 #E3F874
analogous
#74A1F8 #8974F8 #CB74F8
triadic
#8974F8 #F88974 #74F889
tetradic
#8974F8 #F874A1 #E3F874 #74F8CB
square
#8974F8 #F874A1 #E3F874 #74F8CB
split-complementary
#8974F8 #F8CB74 #A1F874
monochromatic
#2E0CE6 #583AF5 #8974F8 #BAAEFB #E6E2FE

Accessibility & contrast

On white

3.55
#8974F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8974F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974F8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974F8#FFFFFF#000000##000000
##8974F81.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFD
Deuteranopia (green-blind)
#2F84F5
Tritanopia (blue-blind)
#6691AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8974f8;
/* rgb */ color: rgb(137, 116, 248);
/* oklch */ color: oklch(64.3% 0.190 287.1);
Tailwind
colors: {
  custom: {
    50: '#b29cfb',
    500: '#8974f8',
    950: '#000000',
  },
}
SCSS
$custom: #8974f8;
$custom-light: #b29cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8974f8",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 249.545,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6428,
    "c": 0.18959,
    "h": 287.1
  },
  "luminance": 0.24586
}

Semantic roles & 50–950 ramp

primary
#8974F8
secondary
#F0F5D3
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8974F8

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

Preview Lab → · Contrast checker → · Palette generator →

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