#8A74EA#8A74EA

#8A74EA is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.5% C 0.171 H 289.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A74EA
RGBrgb(138, 116, 234)
HSLhsl(251, 74%, 69%)
HSVhsv(251, 50%, 92%)
CMYKcmyk(41%, 50.4%, 0%, 8.2%)
CIE-LABlab(55.92, 36.28, -57.04)
CIE-LCHlch(55.92, 67.60, 302.46°)
OKLaboklab(63.48% 0.0562 -0.1618)
OKLCHoklch(63.48% 0.171 289.2)
XYZxyz(31.5738, 23.8335, 80.7627)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74EA #D4EA74
analogous
#7499EA #8A74EA #C574EA
triadic
#8A74EA #EA8A74 #74EA8A
tetradic
#8A74EA #EA7499 #D4EA74 #74EAC5
square
#8A74EA #EA7499 #D4EA74 #74EAC5
split-complementary
#8A74EA #EAC574 #99EA74
monochromatic
#3D1EC6 #5D3FE2 #8A74EA #B7A9F2 #E4DEFA

Accessibility & contrast

On white

3.64
#8A74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74EA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74EA#FFFFFF#000000##000000
##8A74EA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4288EE
Deuteranopia (green-blind)
#4383E7
Tritanopia (blue-blind)
#6F8CA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a74ea;
/* rgb */ color: rgb(138, 116, 234);
/* oklch */ color: oklch(63.5% 0.171 289.2);
Tailwind
colors: {
  custom: {
    50: '#b19cf1',
    500: '#8a74ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a74ea;
$custom-light: #b19cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74ea",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 251.186,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63475,
    "c": 0.1713,
    "h": 289.2
  },
  "luminance": 0.23835
}

Semantic roles & 50–950 ramp

primary
#8A74EA
secondary
#E8EFCB
accent
#D610B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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