#8A74E8#8A74E8

#8A74E8 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.4% C 0.169 H 289.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A74E8
RGBrgb(138, 116, 232)
HSLhsl(251, 72%, 68%)
HSVhsv(251, 50%, 91%)
CMYKcmyk(40.5%, 50%, 0%, 9%)
CIE-LABlab(55.81, 35.73, -56.11)
CIE-LCHlch(55.81, 66.52, 302.49°)
OKLaboklab(63.35% 0.0561 -0.1591)
OKLCHoklch(63.35% 0.169 289.4)
XYZxyz(31.2881, 23.7193, 79.2580)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74E8 #D2E874
analogous
#7498E8 #8A74E8 #C474E8
triadic
#8A74E8 #E88A74 #74E88A
tetradic
#8A74E8 #E87498 #D2E874 #74E8C4
square
#8A74E8 #E87498 #D2E874 #74E8C4
split-complementary
#8A74E8 #E8C474 #98E874
monochromatic
#3F20C2 #5E3FDF #8A74E8 #B6A9F1 #E2DDF9

Accessibility & contrast

On white

3.66
#8A74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8A74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74E8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74E8#FFFFFF#000000##000000
##8A74E81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#708CA3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a74e8;
/* rgb */ color: rgb(138, 116, 232);
/* oklch */ color: oklch(63.4% 0.169 289.4);
Tailwind
colors: {
  custom: {
    50: '#b19cf0',
    500: '#8a74e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a74e8;
$custom-light: #b19cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74e8",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 251.379,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63352,
    "c": 0.16867,
    "h": 289.4
  },
  "luminance": 0.2372
}

Semantic roles & 50–950 ramp

primary
#8A74E8
secondary
#E7EDCA
accent
#D412AF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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