#8E45BC#8E45BC

#8E45BC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.185 H 309.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8E45BC
RGBrgb(142, 69, 188)
HSLhsl(277, 47%, 50%)
HSVhsv(277, 63%, 74%)
CMYKcmyk(24.5%, 63.3%, 0%, 26.3%)
CIE-LABlab(43.71, 51.29, -50.34)
CIE-LCHlch(43.71, 71.86, 315.53°)
OKLaboklab(53.69% 0.1184 -0.142)
OKLCHoklch(53.69% 0.185 309.8)
XYZxyz(22.3588, 13.6383, 49.0218)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45BC #73BC45
analogous
#5245BC #8E45BC #BC45AE
triadic
#8E45BC #BC8E45 #45BC8E
tetradic
#8E45BC #BC5245 #73BC45 #45AEBC
square
#8E45BC #BC5245 #73BC45 #45AEBC
split-complementary
#8E45BC #AEBC45 #45BC52
monochromatic
#4A2463 #6C3490 #8E45BC #A972CC #C59FDC

Accessibility & contrast

On white

5.63
#8E45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8E45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45BC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45BC#FFFFFF#000000##FFFFFF
##8E45BC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#885D7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e45bc;
/* rgb */ color: rgb(142, 69, 188);
/* oklch */ color: oklch(53.7% 0.185 309.8);
Tailwind
colors: {
  custom: {
    50: '#b37dd1',
    500: '#8e45bc',
    950: '#000000',
  },
}
SCSS
$custom: #8e45bc;
$custom-light: #b37dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45bc",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 276.807,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.18486,
    "h": 309.8
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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