#8A73E4#8A73E4

#8A73E4 is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.9% C 0.165 H 290.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A73E4
RGBrgb(138, 115, 228)
HSLhsl(252, 68%, 67%)
HSVhsv(252, 50%, 89%)
CMYKcmyk(39.5%, 49.6%, 0%, 10.6%)
CIE-LABlab(55.34, 35.21, -54.61)
CIE-LCHlch(55.34, 64.97, 302.81°)
OKLaboklab(62.93% 0.057 -0.1547)
OKLCHoklch(62.93% 0.165 290.2)
XYZxyz(30.6117, 23.2653, 76.2615)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73E4 #CDE473
analogous
#7395E4 #8A73E4 #C273E4
triadic
#8A73E4 #E48A73 #73E48A
tetradic
#8A73E4 #E47395 #CDE473 #73E4C2
square
#8A73E4 #E47395 #CDE473 #73E4C2
split-complementary
#8A73E4 #E4C273 #95E473
monochromatic
#4224B9 #5F40DA #8A73E4 #B5A6EE #E0DAF8

Accessibility & contrast

On white

3.71
#8A73E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A73E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73E4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73E4#FFFFFF#000000##000000
##8A73E41.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#728AA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a73e4;
/* rgb */ color: rgb(138, 115, 228);
/* oklch */ color: oklch(62.9% 0.165 290.2);
Tailwind
colors: {
  custom: {
    50: '#b09bed',
    500: '#8a73e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a73e4;
$custom-light: #b09bed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73e4",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 228
  },
  "hsl": {
    "h": 252.212,
    "s": 67.665,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62933,
    "c": 0.16483,
    "h": 290.2
  },
  "luminance": 0.23266
}

Semantic roles & 50–950 ramp

primary
#8A73E4
secondary
#E4EBC8
accent
#D016AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A73E4

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

Preview Lab → · Contrast checker → · Palette generator →

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