#8E45C7#8E45C7

#8E45C7 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.197 H 306.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8E45C7
RGBrgb(142, 69, 199)
HSLhsl(274, 54%, 53%)
HSVhsv(274, 65%, 78%)
CMYKcmyk(28.6%, 65.3%, 0%, 22%)
CIE-LABlab(44.42, 53.79, -55.60)
CIE-LCHlch(44.42, 77.36, 314.05°)
OKLaboklab(54.43% 0.1177 -0.1574)
OKLCHoklch(54.43% 0.197 306.8)
XYZxyz(23.5901, 14.1308, 55.5065)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45C7 #7EC745
analogous
#4D45C7 #8E45C7 #C745BF
triadic
#8E45C7 #C78E45 #45C78E
tetradic
#8E45C7 #C74D45 #7EC745 #45BFC7
square
#8E45C7 #C74D45 #7EC745 #45BFC7
split-complementary
#8E45C7 #BFC745 #45C74D
monochromatic
#4E2270 #6E309F #8E45C7 #AB74D5 #C7A3E3

Accessibility & contrast

On white

5.49
#8E45C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8E45C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45C7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45C7#FFFFFF#000000##FFFFFF
##8E45C71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#276AC4
Tritanopia (blue-blind)
#856180
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e45c7;
/* rgb */ color: rgb(142, 69, 199);
/* oklch */ color: oklch(54.4% 0.197 306.8);
Tailwind
colors: {
  custom: {
    50: '#b37dd9',
    500: '#8e45c7',
    950: '#000000',
  },
}
SCSS
$custom: #8e45c7;
$custom-light: #b37dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45c7",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 273.692,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54431,
    "c": 0.19656,
    "h": 306.8
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#8E45C7
secondary
#B0D098
accent
#DD4B8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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