#8D73B2#8D73B2

#8D73B2 is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.5% C 0.097 H 302.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8D73B2
RGBrgb(141, 115, 178)
HSLhsl(265, 29%, 57%)
HSVhsv(265, 35%, 70%)
CMYKcmyk(20.8%, 35.4%, 0%, 30.2%)
CIE-LABlab(53.10, 23.15, -29.69)
CIE-LCHlch(53.10, 37.65, 307.94°)
OKLaboklab(60.48% 0.0525 -0.0822)
OKLCHoklch(60.48% 0.097 302.6)
XYZxyz(25.1494, 21.1385, 44.8661)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D73B2 #98B273
analogous
#7379B2 #8D73B2 #AC73B2
triadic
#8D73B2 #B28D73 #73B28D
tetradic
#8D73B2 #B27379 #98B273 #73B2AC
square
#8D73B2 #B27379 #98B273 #73B2AC
split-complementary
#8D73B2 #B2AC73 #79B273
monochromatic
#513D6E #6E5296 #8D73B2 #AD9AC8 #CDC2DD

Accessibility & contrast

On white

4.02
#8D73B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8D73B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D73B2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D73B2#FFFFFF#000000##000000
##8D73B21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB4
Deuteranopia (green-blind)
#6A7FB0
Tritanopia (blue-blind)
#877D8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d73b2;
/* rgb */ color: rgb(141, 115, 178);
/* oklch */ color: oklch(60.5% 0.097 302.6);
Tailwind
colors: {
  custom: {
    50: '#af9bc9',
    500: '#8d73b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d73b2;
$custom-light: #af9bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d73b2",
  "rgb": {
    "r": 141,
    "g": 115,
    "b": 178
  },
  "hsl": {
    "h": 264.762,
    "s": 29.032,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60484,
    "c": 0.09748,
    "h": 302.6
  },
  "luminance": 0.21139
}

Semantic roles & 50–950 ramp

primary
#8D73B2
secondary
#C3CDB4
accent
#C5629D
background
#FAF9FC
surface
#F5F2F8
border
#CFCCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D73B2

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

Preview Lab → · Contrast checker → · Palette generator →

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