#8A73E7#8A73E7

#8A73E7 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.169 H 289.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A73E7
RGBrgb(138, 115, 231)
HSLhsl(252, 71%, 68%)
HSVhsv(252, 50%, 91%)
CMYKcmyk(40.3%, 50.2%, 0%, 9.4%)
CIE-LABlab(55.52, 36.03, -56.01)
CIE-LCHlch(55.52, 66.60, 302.75°)
OKLaboklab(63.12% 0.0572 -0.1588)
OKLCHoklch(63.12% 0.169 289.8)
XYZxyz(31.0318, 23.4333, 78.4739)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73E7 #D0E773
analogous
#7396E7 #8A73E7 #C473E7
triadic
#8A73E7 #E78A73 #73E78A
tetradic
#8A73E7 #E77396 #D0E773 #73E7C4
square
#8A73E7 #E77396 #D0E773 #73E7C4
split-complementary
#8A73E7 #E7C473 #96E773
monochromatic
#4021BF #5E3FDE #8A73E7 #B6A7F0 #E1DBF9

Accessibility & contrast

On white

3.69
#8A73E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A73E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73E7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73E7#FFFFFF#000000##000000
##8A73E71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4387EB
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#708BA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a73e7;
/* rgb */ color: rgb(138, 115, 231);
/* oklch */ color: oklch(63.1% 0.169 289.8);
Tailwind
colors: {
  custom: {
    50: '#b19bef',
    500: '#8a73e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a73e7;
$custom-light: #b19bef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73e7",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 251.897,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63117,
    "c": 0.16879,
    "h": 289.8
  },
  "luminance": 0.23434
}

Semantic roles & 50–950 ramp

primary
#8A73E7
secondary
#E6EDC9
accent
#D313AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A73E7

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

Preview Lab → · Contrast checker → · Palette generator →

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