#8A74F4#8A74F4

#8A74F4 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.1% C 0.184 H 287.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A74F4
RGBrgb(138, 116, 244)
HSLhsl(250, 85%, 71%)
HSVhsv(250, 52%, 96%)
CMYKcmyk(43.4%, 52.5%, 0%, 4.3%)
CIE-LABlab(56.51, 39.06, -61.66)
CIE-LCHlch(56.51, 72.99, 302.35°)
OKLaboklab(64.11% 0.0568 -0.1754)
OKLCHoklch(64.11% 0.184 287.9)
XYZxyz(33.0511, 24.4245, 88.5434)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74F4 #DEF474
analogous
#749EF4 #8A74F4 #CA74F4
triadic
#8A74F4 #F48A74 #74F48A
tetradic
#8A74F4 #F4749E #DEF474 #74F4CA
square
#8A74F4 #F4749E #DEF474 #74F4CA
split-complementary
#8A74F4 #F4CA74 #9EF474
monochromatic
#3411DC #5A3BF0 #8A74F4 #BAADF8 #E7E3FD

Accessibility & contrast

On white

3.57
#8A74F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8A74F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74F4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74F4#FFFFFF#000000##000000
##8A74F41.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BF8
Deuteranopia (green-blind)
#3684F1
Tritanopia (blue-blind)
#6A8FA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a74f4;
/* rgb */ color: rgb(138, 116, 244);
/* oklch */ color: oklch(64.1% 0.184 287.9);
Tailwind
colors: {
  custom: {
    50: '#b29cf8',
    500: '#8a74f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a74f4;
$custom-light: #b29cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74f4",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 250.313,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64105,
    "c": 0.18436,
    "h": 287.9
  },
  "luminance": 0.24426
}

Semantic roles & 50–950 ramp

primary
#8A74F4
secondary
#EDF3D1
accent
#E204BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74F4

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

Preview Lab → · Contrast checker → · Palette generator →

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