#8A74FC#8A74FC

#8A74FC is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.6% C 0.195 H 287.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A74FC
RGBrgb(138, 116, 252)
HSLhsl(250, 96%, 72%)
HSVhsv(250, 54%, 99%)
CMYKcmyk(45.2%, 54%, 0%, 1.2%)
CIE-LABlab(57.00, 41.30, -65.31)
CIE-LCHlch(57.00, 77.27, 302.31°)
OKLaboklab(64.62% 0.0571 -0.1861)
OKLCHoklch(64.62% 0.195 287.1)
XYZxyz(34.2922, 24.9209, 95.0799)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74FC #E6FC74
analogous
#74A2FC #8A74FC #CE74FC
triadic
#8A74FC #FC8A74 #74FC8A
tetradic
#8A74FC #FC74A2 #E6FC74 #74FCCE
square
#8A74FC #FC74A2 #E6FC74 #74FCCE
split-complementary
#8A74FC #FCCE74 #A2FC74
monochromatic
#2B05F0 #5838FB #8A74FC #BCB0FD #E6E1FE

Accessibility & contrast

On white

3.51
#8A74FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A74FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74FC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74FC#FFFFFF#000000##000000
##8A74FC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8CFF
Deuteranopia (green-blind)
#2985F9
Tritanopia (blue-blind)
#6692AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a74fc;
/* rgb */ color: rgb(138, 116, 252);
/* oklch */ color: oklch(64.6% 0.195 287.1);
Tailwind
colors: {
  custom: {
    50: '#b39cfe',
    500: '#8a74fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a74fc;
$custom-light: #b39cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74fc",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 249.706,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64624,
    "c": 0.19467,
    "h": 287.1
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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