#8E45BD#8E45BD

#8E45BD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.186 H 309.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8E45BD
RGBrgb(142, 69, 189)
HSLhsl(277, 48%, 51%)
HSVhsv(277, 63%, 74%)
CMYKcmyk(24.9%, 63.5%, 0%, 25.9%)
CIE-LABlab(43.77, 51.51, -50.82)
CIE-LCHlch(43.77, 72.36, 315.39°)
OKLaboklab(53.76% 0.1183 -0.1434)
OKLCHoklch(53.76% 0.186 309.5)
XYZxyz(22.4670, 13.6816, 49.5915)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45BD #74BD45
analogous
#5245BD #8E45BD #BD45B0
triadic
#8E45BD #BD8E45 #45BD8E
tetradic
#8E45BD #BD5245 #74BD45 #45B0BD
square
#8E45BD #BD5245 #74BD45 #45B0BD
split-complementary
#8E45BD #B0BD45 #45BD52
monochromatic
#4B2464 #6D3491 #8E45BD #A972CD #C59FDD

Accessibility & contrast

On white

5.62
#8E45BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8E45BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45BD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45BD#FFFFFF#000000##FFFFFF
##8E45BD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3469BA
Tritanopia (blue-blind)
#875D7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e45bd;
/* rgb */ color: rgb(142, 69, 189);
/* oklch */ color: oklch(53.8% 0.186 309.5);
Tailwind
colors: {
  custom: {
    50: '#b37dd1',
    500: '#8e45bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e45bd;
$custom-light: #b37dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45bd",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 276.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.18592,
    "h": 309.5
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#8E45BD
secondary
#A9CA94
accent
#D75185
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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