#8A73C8#8A73C8

#8A73C8 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.3% C 0.127 H 294.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8A73C8
RGBrgb(138, 115, 200)
HSLhsl(256, 44%, 62%)
HSVhsv(256, 43%, 78%)
CMYKcmyk(31%, 42.5%, 0%, 21.6%)
CIE-LABlab(53.85, 27.74, -41.15)
CIE-LCHlch(53.85, 49.63, 303.99°)
OKLaboklab(61.33% 0.0534 -0.1154)
OKLCHoklch(61.33% 0.127 294.8)
XYZxyz(27.0347, 21.8345, 57.4225)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73C8 #B1C873
analogous
#7387C8 #8A73C8 #B573C8
triadic
#8A73C8 #C88A73 #73C88A
tetradic
#8A73C8 #C87387 #B1C873 #73C8B5
square
#8A73C8 #C87387 #B1C873 #73C8B5
split-complementary
#8A73C8 #C8B573 #87C873
monochromatic
#4D368A #6648B6 #8A73C8 #AF9FD9 #D3CBEB

Accessibility & contrast

On white

3.91
#8A73C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8A73C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73C8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73C8#FFFFFF#000000##000000
##8A73C81.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#5D7FC6
Tritanopia (blue-blind)
#7C8294
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a73c8;
/* rgb */ color: rgb(138, 115, 200);
/* oklch */ color: oklch(61.3% 0.127 294.8);
Tailwind
colors: {
  custom: {
    50: '#ae9bd9',
    500: '#8a73c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a73c8;
$custom-light: #ae9bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73c8",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 200
  },
  "hsl": {
    "h": 256.235,
    "s": 43.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61325,
    "c": 0.12712,
    "h": 294.8
  },
  "luminance": 0.21835
}

Semantic roles & 50–950 ramp

primary
#8A73C8
secondary
#D3DBBC
accent
#B72F92
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A73C8

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

Preview Lab → · Contrast checker → · Palette generator →

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