#8A73E1#8A73E1

#8A73E1 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.8% C 0.161 H 290.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A73E1
RGBrgb(138, 115, 225)
HSLhsl(253, 65%, 67%)
HSVhsv(253, 49%, 88%)
CMYKcmyk(38.7%, 48.9%, 0%, 11.8%)
CIE-LABlab(55.18, 34.39, -53.19)
CIE-LCHlch(55.18, 63.34, 302.88°)
OKLaboklab(62.75% 0.0567 -0.1505)
OKLCHoklch(62.75% 0.161 290.6)
XYZxyz(30.1989, 23.1001, 74.0872)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73E1 #CAE173
analogous
#7393E1 #8A73E1 #C173E1
triadic
#8A73E1 #E18A73 #73E18A
tetradic
#8A73E1 #E17393 #CAE173 #73E1C1
square
#8A73E1 #E17393 #CAE173 #73E1C1
split-complementary
#8A73E1 #E1C173 #93E173
monochromatic
#4426B3 #6041D6 #8A73E1 #B4A5EC #DED8F7

Accessibility & contrast

On white

3.74
#8A73E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A73E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73E1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73E1#FFFFFF#000000##000000
##8A73E11.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E5
Deuteranopia (green-blind)
#4A82DE
Tritanopia (blue-blind)
#73899F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a73e1;
/* rgb */ color: rgb(138, 115, 225);
/* oklch */ color: oklch(62.8% 0.161 290.6);
Tailwind
colors: {
  custom: {
    50: '#b09beb',
    500: '#8a73e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a73e1;
$custom-light: #b09beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73e1",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 225
  },
  "hsl": {
    "h": 252.545,
    "s": 64.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62752,
    "c": 0.16086,
    "h": 290.6
  },
  "luminance": 0.23101
}

Semantic roles & 50–950 ramp

primary
#8A73E1
secondary
#E2EAC6
accent
#CD19A7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A73E1

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

Preview Lab → · Contrast checker → · Palette generator →

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