#8A74EE#8A74EE

#8A74EE is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.7% C 0.177 H 288.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A74EE
RGBrgb(138, 116, 238)
HSLhsl(251, 78%, 69%)
HSVhsv(251, 51%, 93%)
CMYKcmyk(42%, 51.3%, 0%, 6.7%)
CIE-LABlab(56.15, 37.39, -58.90)
CIE-LCHlch(56.15, 69.76, 302.41°)
OKLaboklab(63.72% 0.0565 -0.1673)
OKLCHoklch(63.72% 0.177 288.7)
XYZxyz(32.1549, 24.0660, 83.8233)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74EE #D8EE74
analogous
#749BEE #8A74EE #C774EE
triadic
#8A74EE #EE8A74 #74EE8A
tetradic
#8A74EE #EE749B #D8EE74 #74EEC7
square
#8A74EE #EE749B #D8EE74 #74EEC7
split-complementary
#8A74EE #EEC774 #9BEE74
monochromatic
#3A19CE #5C3DE7 #8A74EE #B8ABF5 #E6E1FB

Accessibility & contrast

On white

3.61
#8A74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8A74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74EE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74EE#FFFFFF#000000##000000
##8A74EE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F2
Deuteranopia (green-blind)
#3E84EB
Tritanopia (blue-blind)
#6D8EA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a74ee;
/* rgb */ color: rgb(138, 116, 238);
/* oklch */ color: oklch(63.7% 0.177 288.7);
Tailwind
colors: {
  custom: {
    50: '#b19cf4',
    500: '#8a74ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a74ee;
$custom-light: #b19cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74ee",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 250.82,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63724,
    "c": 0.17655,
    "h": 288.7
  },
  "luminance": 0.24067
}

Semantic roles & 50–950 ramp

primary
#8A74EE
secondary
#EAF0CD
accent
#DA0BB5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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