#8974F9#8974F9

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

Color values

HEX#8974F9
RGBrgb(137, 116, 249)
HSLhsl(249, 92%, 72%)
HSVhsv(249, 53%, 98%)
CMYKcmyk(45%, 53.4%, 0%, 2.4%)
CIE-LABlab(56.73, 40.24, -64.08)
CIE-LCHlch(56.73, 75.67, 302.13°)
OKLaboklab(64.35% 0.0558 -0.1825)
OKLCHoklch(64.35% 0.191 287)
XYZxyz(33.6559, 24.6473, 92.5882)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974F9 #E4F974
analogous
#74A2F9 #8974F9 #CC74F9
triadic
#8974F9 #F98974 #74F989
tetradic
#8974F9 #F974A2 #E4F974 #74F9CC
square
#8974F9 #F974A2 #E4F974 #74F9CC
split-complementary
#8974F9 #F9CC74 #A2F974
monochromatic
#2D0AE9 #5739F6 #8974F9 #BBAFFC #E6E2FE

Accessibility & contrast

On white

3.54
#8974F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8974F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974F9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974F9#FFFFFF#000000##000000
##8974F91.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8BFE
Deuteranopia (green-blind)
#2D84F6
Tritanopia (blue-blind)
#6591AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8974f9;
/* rgb */ color: rgb(137, 116, 249);
/* oklch */ color: oklch(64.3% 0.191 287.0);
Tailwind
colors: {
  custom: {
    50: '#b29cfc',
    500: '#8974f9',
    950: '#000000',
  },
}
SCSS
$custom: #8974f9;
$custom-light: #b29cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8974f9",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 249.474,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64345,
    "c": 0.19087,
    "h": 287
  },
  "luminance": 0.24649
}

Semantic roles & 50–950 ramp

primary
#8974F9
secondary
#F0F5D3
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8974F9

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

Preview Lab → · Contrast checker → · Palette generator →

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