#8A74F6#8A74F6

#8A74F6 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.187 H 287.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A74F6
RGBrgb(138, 116, 246)
HSLhsl(250, 88%, 71%)
HSVhsv(250, 53%, 96%)
CMYKcmyk(43.9%, 52.8%, 0%, 3.5%)
CIE-LABlab(56.63, 39.62, -62.58)
CIE-LCHlch(56.63, 74.06, 302.34°)
OKLaboklab(64.23% 0.0569 -0.1781)
OKLCHoklch(64.23% 0.187 287.7)
XYZxyz(33.3564, 24.5466, 90.1513)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74F6 #E0F674
analogous
#749FF6 #8A74F6 #CB74F6
triadic
#8A74F6 #F68A74 #74F68A
tetradic
#8A74F6 #F6749F #E0F674 #74F6CB
square
#8A74F6 #F6749F #E0F674 #74F6CB
split-complementary
#8A74F6 #F6CB74 #9FF674
monochromatic
#320FE1 #5A3BF2 #8A74F6 #BAADFA #E7E2FD

Accessibility & contrast

On white

3.55
#8A74F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A74F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74F6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74F6#FFFFFF#000000##000000
##8A74F61.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#348BFA
Deuteranopia (green-blind)
#3384F3
Tritanopia (blue-blind)
#6990AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a74f6;
/* rgb */ color: rgb(138, 116, 246);
/* oklch */ color: oklch(64.2% 0.187 287.7);
Tailwind
colors: {
  custom: {
    50: '#b29cfa',
    500: '#8a74f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a74f6;
$custom-light: #b29cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74f6",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 250.154,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64233,
    "c": 0.18695,
    "h": 287.7
  },
  "luminance": 0.24548
}

Semantic roles & 50–950 ramp

primary
#8A74F6
secondary
#EEF4D2
accent
#E401BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74F6

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

Preview Lab → · Contrast checker → · Palette generator →

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