#8A74FD#8A74FD

#8A74FD is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.7% C 0.196 H 287.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A74FD
RGBrgb(138, 116, 253)
HSLhsl(250, 97%, 72%)
HSVhsv(250, 54%, 99%)
CMYKcmyk(45.5%, 54.2%, 0%, 0.8%)
CIE-LABlab(57.06, 41.58, -65.76)
CIE-LCHlch(57.06, 77.80, 302.31°)
OKLaboklab(64.69% 0.0571 -0.1874)
OKLCHoklch(64.69% 0.196 287)
XYZxyz(34.4511, 24.9845, 95.9167)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74FD #E7FD74
analogous
#74A3FD #8A74FD #CE74FD
triadic
#8A74FD #FD8A74 #74FD8A
tetradic
#8A74FD #FD74A3 #E7FD74 #74FDCE
square
#8A74FD #FD74A3 #E7FD74 #74FDCE
split-complementary
#8A74FD #FDCE74 #A3FD74
monochromatic
#2A03F3 #5738FC #8A74FD #BDB0FE #E6E1FF

Accessibility & contrast

On white

3.50
#8A74FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A74FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74FD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74FD#FFFFFF#000000##000000
##8A74FD1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#288CFF
Deuteranopia (green-blind)
#2685FA
Tritanopia (blue-blind)
#6592AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a74fd;
/* rgb */ color: rgb(138, 116, 253);
/* oklch */ color: oklch(64.7% 0.196 287.0);
Tailwind
colors: {
  custom: {
    50: '#b39cff',
    500: '#8a74fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a74fd;
$custom-light: #b39cff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74fd",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 249.635,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64689,
    "c": 0.19595,
    "h": 287
  },
  "luminance": 0.24986
}

Semantic roles & 50–950 ramp

primary
#8A74FD
secondary
#F1F7D4
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A74FD

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

Preview Lab → · Contrast checker → · Palette generator →

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