#8A73CE#8A73CE

#8A73CE is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.7% C 0.135 H 293.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A73CE
RGBrgb(138, 115, 206)
HSLhsl(255, 48%, 63%)
HSVhsv(255, 44%, 81%)
CMYKcmyk(33%, 44.2%, 0%, 19.2%)
CIE-LABlab(54.15, 29.31, -44.09)
CIE-LCHlch(54.15, 52.94, 303.61°)
OKLaboklab(61.65% 0.0543 -0.1239)
OKLCHoklch(61.65% 0.135 293.7)
XYZxyz(27.7497, 22.1205, 61.1882)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73CE #B7CE73
analogous
#7389CE #8A73CE #B773CE
triadic
#8A73CE #CE8A73 #73CE8A
tetradic
#8A73CE #CE7389 #B7CE73 #73CEB7
square
#8A73CE #CE7389 #B7CE73 #73CEB7
split-complementary
#8A73CE #CEB773 #89CE73
monochromatic
#4C3393 #6446BE #8A73CE #B0A0DE #D6CEEE

Accessibility & contrast

On white

3.87
#8A73CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8A73CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73CE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73CE#FFFFFF#000000##000000
##8A73CE1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D1
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#7A8497
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a73ce;
/* rgb */ color: rgb(138, 115, 206);
/* oklch */ color: oklch(61.7% 0.135 293.7);
Tailwind
colors: {
  custom: {
    50: '#af9bdd',
    500: '#8a73ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a73ce;
$custom-light: #af9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73ce",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 255.165,
    "s": 48.148,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.1353,
    "h": 293.7
  },
  "luminance": 0.22121
}

Semantic roles & 50–950 ramp

primary
#8A73CE
secondary
#D6DFBE
accent
#BB2A97
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A73CE

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

Preview Lab → · Contrast checker → · Palette generator →

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