#8A74E9#8A74E9

#8A74E9 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.4% C 0.170 H 289.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A74E9
RGBrgb(138, 116, 233)
HSLhsl(251, 73%, 68%)
HSVhsv(251, 50%, 91%)
CMYKcmyk(40.8%, 50.2%, 0%, 8.6%)
CIE-LABlab(55.86, 36.01, -56.58)
CIE-LCHlch(55.86, 67.06, 302.47°)
OKLaboklab(63.41% 0.0561 -0.1604)
OKLCHoklch(63.41% 0.17 289.3)
XYZxyz(31.4305, 23.7762, 80.0082)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74E9 #D3E974
analogous
#7498E9 #8A74E9 #C474E9
triadic
#8A74E9 #E98A74 #74E98A
tetradic
#8A74E9 #E97498 #D3E974 #74E9C4
square
#8A74E9 #E97498 #D3E974 #74E9C4
split-complementary
#8A74E9 #E9C474 #98E974
monochromatic
#3E1FC4 #5E3FE1 #8A74E9 #B6A9F1 #E3DEFA

Accessibility & contrast

On white

3.65
#8A74E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A74E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74E9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74E9#FFFFFF#000000##000000
##8A74E91.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4388ED
Deuteranopia (green-blind)
#4483E6
Tritanopia (blue-blind)
#6F8CA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a74e9;
/* rgb */ color: rgb(138, 116, 233);
/* oklch */ color: oklch(63.4% 0.170 289.3);
Tailwind
colors: {
  custom: {
    50: '#b19cf1',
    500: '#8a74e9',
    950: '#000000',
  },
}
SCSS
$custom: #8a74e9;
$custom-light: #b19cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74e9",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 251.282,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63413,
    "c": 0.16998,
    "h": 289.3
  },
  "luminance": 0.23777
}

Semantic roles & 50–950 ramp

primary
#8A74E9
secondary
#E7EECB
accent
#D511B0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74E9

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

Preview Lab → · Contrast checker → · Palette generator →

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