#8E73CA#8E73CA

#8E73CA is a mid, vivid violet. Relative luminance 0.223; OKLCH L 61.8% C 0.130 H 296.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8E73CA
RGBrgb(142, 115, 202)
HSLhsl(259, 45%, 62%)
HSVhsv(259, 43%, 79%)
CMYKcmyk(29.7%, 43.1%, 0%, 20.8%)
CIE-LABlab(54.32, 29.37, -41.53)
CIE-LCHlch(54.32, 50.87, 305.27°)
OKLaboklab(61.8% 0.0586 -0.1164)
OKLCHoklch(61.8% 0.13 296.7)
XYZxyz(27.9442, 22.2762, 58.6932)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E73CA #AFCA73
analogous
#7383CA #8E73CA #BA73CA
triadic
#8E73CA #CA8E73 #73CA8E
tetradic
#8E73CA #CA7383 #AFCA73 #73CABA
square
#8E73CA #CA7383 #AFCA73 #73CABA
split-complementary
#8E73CA #CABA73 #83CA73
monochromatic
#51358D #6A47B9 #8E73CA #B29FDB #D6CCEC

Accessibility & contrast

On white

3.85
#8E73CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8E73CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E73CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E73CA#FFFFFF#000000##000000
##8E73CA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#818395
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e73ca;
/* rgb */ color: rgb(142, 115, 202);
/* oklch */ color: oklch(61.8% 0.130 296.7);
Tailwind
colors: {
  custom: {
    50: '#b19bda',
    500: '#8e73ca',
    950: '#000000',
  },
}
SCSS
$custom: #8e73ca;
$custom-light: #b19bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8e73ca",
  "rgb": {
    "r": 142,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 258.621,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.13027,
    "h": 296.7
  },
  "luminance": 0.22277
}

Semantic roles & 50–950 ramp

primary
#8E73CA
secondary
#D2DCBC
accent
#B82D8D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8E73CA

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

Preview Lab → · Contrast checker → · Palette generator →

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