#8E45BF#8E45BF

#8E45BF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.188 H 309.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8E45BF
RGBrgb(142, 69, 191)
HSLhsl(276, 49%, 51%)
HSVhsv(276, 64%, 75%)
CMYKcmyk(25.7%, 63.9%, 0%, 25.1%)
CIE-LABlab(43.90, 51.96, -51.78)
CIE-LCHlch(43.90, 73.36, 315.10°)
OKLaboklab(53.89% 0.1182 -0.1462)
OKLCHoklch(53.89% 0.188 309)
XYZxyz(22.6855, 13.7690, 50.7427)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45BF #76BF45
analogous
#5145BF #8E45BF #BF45B3
triadic
#8E45BF #BF8E45 #45BF8E
tetradic
#8E45BF #BF5145 #76BF45 #45B3BF
square
#8E45BF #BF5145 #76BF45 #45B3BF
split-complementary
#8E45BF #B3BF45 #45BF51
monochromatic
#4B2366 #6D3394 #8E45BF #AA73CF #C5A0DE

Accessibility & contrast

On white

5.59
#8E45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8E45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45BF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45BF#FFFFFF#000000##FFFFFF
##8E45BF1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#875E7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e45bf;
/* rgb */ color: rgb(142, 69, 191);
/* oklch */ color: oklch(53.9% 0.188 309.0);
Tailwind
colors: {
  custom: {
    50: '#b37dd3',
    500: '#8e45bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e45bf;
$custom-light: #b37dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45bf",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 275.902,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.18805,
    "h": 309
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#8E45BF
secondary
#ABCB95
accent
#D84F86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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