#8A74FE#8A74FE

#8A74FE is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.8% C 0.197 H 286.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A74FE
RGBrgb(138, 116, 254)
HSLhsl(250, 99%, 73%)
HSVhsv(250, 54%, 100%)
CMYKcmyk(45.7%, 54.3%, 0%, 0.4%)
CIE-LABlab(57.12, 41.87, -66.21)
CIE-LCHlch(57.12, 78.33, 302.31°)
OKLaboklab(64.76% 0.0572 -0.1888)
OKLCHoklch(64.76% 0.197 286.8)
XYZxyz(34.6108, 25.0484, 96.7579)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74FE #E8FE74
analogous
#74A3FE #8A74FE #CF74FE
triadic
#8A74FE #FE8A74 #74FE8A
tetradic
#8A74FE #FE74A3 #E8FE74 #74FECF
square
#8A74FE #FE74A3 #E8FE74 #74FECF
split-complementary
#8A74FE #FECF74 #A3FE74
monochromatic
#2902F6 #5737FE #8A74FE #BDB1FE #E5E1FF

Accessibility & contrast

On white

3.49
#8A74FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8A74FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74FE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74FE#FFFFFF#000000##000000
##8A74FE1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#268DFF
Deuteranopia (green-blind)
#2485FB
Tritanopia (blue-blind)
#6492AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a74fe;
/* rgb */ color: rgb(138, 116, 254);
/* oklch */ color: oklch(64.8% 0.197 286.8);
Tailwind
colors: {
  custom: {
    50: '#b39cff',
    500: '#8a74fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a74fe;
$custom-light: #b39cff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74fe",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 249.565,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.19722,
    "h": 286.8
  },
  "luminance": 0.2505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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