#8A74F8#8A74F8

#8A74F8 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.4% C 0.190 H 287.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8A74F8
RGBrgb(138, 116, 248)
HSLhsl(250, 90%, 71%)
HSVhsv(250, 53%, 97%)
CMYKcmyk(44.4%, 53.2%, 0%, 2.7%)
CIE-LABlab(56.75, 40.18, -63.49)
CIE-LCHlch(56.75, 75.13, 302.33°)
OKLaboklab(64.36% 0.057 -0.1808)
OKLCHoklch(64.36% 0.19 287.5)
XYZxyz(33.6651, 24.6700, 91.7767)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74F8 #E2F874
analogous
#74A0F8 #8A74F8 #CC74F8
triadic
#8A74F8 #F88A74 #74F88A
tetradic
#8A74F8 #F874A0 #E2F874 #74F8CC
square
#8A74F8 #F874A0 #E2F874 #74F8CC
split-complementary
#8A74F8 #F8CC74 #A0F874
monochromatic
#300CE6 #593AF5 #8A74F8 #BBAEFB #E6E2FE

Accessibility & contrast

On white

3.54
#8A74F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8A74F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74F8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74F8#FFFFFF#000000##000000
##8A74F81.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFD
Deuteranopia (green-blind)
#3085F5
Tritanopia (blue-blind)
#6891AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a74f8;
/* rgb */ color: rgb(138, 116, 248);
/* oklch */ color: oklch(64.4% 0.190 287.5);
Tailwind
colors: {
  custom: {
    50: '#b29cfb',
    500: '#8a74f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a74f8;
$custom-light: #b29cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74f8",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 250,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64362,
    "c": 0.18953,
    "h": 287.5
  },
  "luminance": 0.24671
}

Semantic roles & 50–950 ramp

primary
#8A74F8
secondary
#EFF5D3
accent
#E600BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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