#8D73CB#8D73CB

#8D73CB is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.8% C 0.132 H 295.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8D73CB
RGBrgb(141, 115, 203)
HSLhsl(258, 46%, 62%)
HSVhsv(258, 43%, 80%)
CMYKcmyk(30.5%, 43.3%, 0%, 20.4%)
CIE-LABlab(54.28, 29.35, -42.17)
CIE-LCHlch(54.28, 51.38, 304.84°)
OKLaboklab(61.76% 0.0575 -0.1183)
OKLCHoklch(61.76% 0.132 295.9)
XYZxyz(27.8921, 22.2356, 59.3107)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D73CB #B1CB73
analogous
#7385CB #8D73CB #B973CB
triadic
#8D73CB #CB8D73 #73CB8D
tetradic
#8D73CB #CB7385 #B1CB73 #73CBB9
square
#8D73CB #CB7385 #B1CB73 #73CBB9
split-complementary
#8D73CB #CBB973 #85CB73
monochromatic
#4F358F #6946BA #8D73CB #B1A0DC #D6CCEC

Accessibility & contrast

On white

3.86
#8D73CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8D73CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D73CB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D73CB#FFFFFF#000000##000000
##8D73CB1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#808395
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d73cb;
/* rgb */ color: rgb(141, 115, 203);
/* oklch */ color: oklch(61.8% 0.132 295.9);
Tailwind
colors: {
  custom: {
    50: '#b09bdb',
    500: '#8d73cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d73cb;
$custom-light: #b09bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d73cb",
  "rgb": {
    "r": 141,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 257.727,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61761,
    "c": 0.1315,
    "h": 295.9
  },
  "luminance": 0.22236
}

Semantic roles & 50–950 ramp

primary
#8D73CB
secondary
#D3DDBD
accent
#B92C90
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8D73CB

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

Preview Lab → · Contrast checker → · Palette generator →

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