#8974FB#8974FB

#8974FB is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.5% C 0.193 H 286.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8974FB
RGBrgb(137, 116, 251)
HSLhsl(249, 94%, 72%)
HSVhsv(249, 54%, 98%)
CMYKcmyk(45.4%, 53.8%, 0%, 1.6%)
CIE-LABlab(56.85, 40.81, -64.99)
CIE-LCHlch(56.85, 76.74, 302.12°)
OKLaboklab(64.48% 0.0559 -0.1852)
OKLCHoklch(64.48% 0.193 286.8)
XYZxyz(33.9695, 24.7728, 94.2398)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974FB #E6FB74
analogous
#74A3FB #8974FB #CC74FB
triadic
#8974FB #FB8974 #74FB89
tetradic
#8974FB #FB74A3 #E6FB74 #74FBCC
square
#8974FB #FB74A3 #E6FB74 #74FBCC
split-complementary
#8974FB #FBCC74 #A3FB74
monochromatic
#2B07EE #5639F9 #8974FB #BCAFFD #E6E1FE

Accessibility & contrast

On white

3.53
#8974FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8974FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974FB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974FB#FFFFFF#000000##000000
##8974FB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8CFF
Deuteranopia (green-blind)
#2985F8
Tritanopia (blue-blind)
#6492AC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8974fb;
/* rgb */ color: rgb(137, 116, 251);
/* oklch */ color: oklch(64.5% 0.193 286.8);
Tailwind
colors: {
  custom: {
    50: '#b29cfd',
    500: '#8974fb',
    950: '#000000',
  },
}
SCSS
$custom: #8974fb;
$custom-light: #b29cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8974fb",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 249.333,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64476,
    "c": 0.19345,
    "h": 286.8
  },
  "luminance": 0.24774
}

Semantic roles & 50–950 ramp

primary
#8974FB
secondary
#F1F6D4
accent
#E600C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8974FB

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

Preview Lab → · Contrast checker → · Palette generator →

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