#8A74F9#8A74F9

#8A74F9 is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.4% C 0.191 H 287.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A74F9
RGBrgb(138, 116, 249)
HSLhsl(250, 92%, 72%)
HSVhsv(250, 53%, 98%)
CMYKcmyk(44.6%, 53.4%, 0%, 2.4%)
CIE-LABlab(56.81, 40.46, -63.94)
CIE-LCHlch(56.81, 75.67, 302.32°)
OKLaboklab(64.43% 0.057 -0.1821)
OKLCHoklch(64.43% 0.191 287.4)
XYZxyz(33.8206, 24.7323, 92.5960)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74F9 #E3F974
analogous
#74A1F9 #8A74F9 #CD74F9
triadic
#8A74F9 #F98A74 #74F98A
tetradic
#8A74F9 #F974A1 #E3F974 #74F9CD
square
#8A74F9 #F974A1 #E3F974 #74F9CD
split-complementary
#8A74F9 #F9CD74 #A1F974
monochromatic
#2F0AE9 #5939F6 #8A74F9 #BBAFFC #E6E2FE

Accessibility & contrast

On white

3.53
#8A74F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A74F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74F9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74F9#FFFFFF#000000##000000
##8A74F91.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)
#2F8CFE
Deuteranopia (green-blind)
#2E85F6
Tritanopia (blue-blind)
#6791AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a74f9;
/* rgb */ color: rgb(138, 116, 249);
/* oklch */ color: oklch(64.4% 0.191 287.4);
Tailwind
colors: {
  custom: {
    50: '#b29cfc',
    500: '#8a74f9',
    950: '#000000',
  },
}
SCSS
$custom: #8a74f9;
$custom-light: #b29cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74f9",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 249.925,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64427,
    "c": 0.19082,
    "h": 287.4
  },
  "luminance": 0.24734
}

Semantic roles & 50–950 ramp

primary
#8A74F9
secondary
#F0F5D3
accent
#E600C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8A74F9

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

Preview Lab → · Contrast checker → · Palette generator →

#8A74F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva