#8A73ED#8A73ED

#8A73ED is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.5% C 0.177 H 289.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A73ED
RGBrgb(138, 115, 237)
HSLhsl(251, 77%, 69%)
HSVhsv(251, 51%, 93%)
CMYKcmyk(41.8%, 51.5%, 0%, 7.1%)
CIE-LABlab(55.86, 37.69, -58.80)
CIE-LCHlch(55.86, 69.84, 302.66°)
OKLaboklab(63.49% 0.0576 -0.167)
OKLCHoklch(63.49% 0.177 289)
XYZxyz(31.8938, 23.7781, 83.0135)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73ED #D6ED73
analogous
#7399ED #8A73ED #C773ED
triadic
#8A73ED #ED8A73 #73ED8A
tetradic
#8A73ED #ED7399 #D6ED73 #73EDC7
square
#8A73ED #ED7399 #D6ED73 #73EDC7
split-complementary
#8A73ED #EDC773 #99ED73
monochromatic
#3C1ACB #5D3DE6 #8A73ED #B7A9F4 #E5DFFB

Accessibility & contrast

On white

3.65
#8A73ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A73ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73ED
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73ED#FFFFFF#000000##000000
##8A73ED1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F1
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#6E8DA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a73ed;
/* rgb */ color: rgb(138, 115, 237);
/* oklch */ color: oklch(63.5% 0.177 289.0);
Tailwind
colors: {
  custom: {
    50: '#b19cf3',
    500: '#8a73ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a73ed;
$custom-light: #b19cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73ed",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 251.311,
    "s": 77.215,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6349,
    "c": 0.17666,
    "h": 289
  },
  "luminance": 0.23779
}

Semantic roles & 50–950 ramp

primary
#8A73ED
secondary
#E9F0CC
accent
#D90CB3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73ED

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

Preview Lab → · Contrast checker → · Palette generator →

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