#8A73DB#8A73DB

#8A73DB is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.4% C 0.153 H 291.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A73DB
RGBrgb(138, 115, 219)
HSLhsl(253, 59%, 65%)
HSVhsv(253, 47%, 86%)
CMYKcmyk(37%, 47.5%, 0%, 14.1%)
CIE-LABlab(54.84, 32.77, -50.35)
CIE-LCHlch(54.84, 60.07, 303.06°)
OKLaboklab(62.4% 0.0561 -0.1422)
OKLCHoklch(62.4% 0.153 291.5)
XYZxyz(29.3947, 22.7785, 69.8521)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73DB #C4DB73
analogous
#7390DB #8A73DB #BE73DB
triadic
#8A73DB #DB8A73 #73DB8A
tetradic
#8A73DB #DB7390 #C4DB73 #73DBBE
square
#8A73DB #DB7390 #C4DB73 #73DBBE
split-complementary
#8A73DB #DBBE73 #90DB73
monochromatic
#472BA8 #6142CE #8A73DB #B3A4E8 #DBD4F4

Accessibility & contrast

On white

3.78
#8A73DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8A73DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73DB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73DB#FFFFFF#000000##000000
##8A73DB1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DF
Deuteranopia (green-blind)
#5081D9
Tritanopia (blue-blind)
#75879D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a73db;
/* rgb */ color: rgb(138, 115, 219);
/* oklch */ color: oklch(62.4% 0.153 291.5);
Tailwind
colors: {
  custom: {
    50: '#b09be7',
    500: '#8a73db',
    950: '#000000',
  },
}
SCSS
$custom: #8a73db;
$custom-light: #b09be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73db",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 253.269,
    "s": 59.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62396,
    "c": 0.15286,
    "h": 291.5
  },
  "luminance": 0.22779
}

Semantic roles & 50–950 ramp

primary
#8A73DB
secondary
#DFE6C3
accent
#C71FA2
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A73DB

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

Preview Lab → · Contrast checker → · Palette generator →

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