#8E45BB#8E45BB

#8E45BB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.184 H 310.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8E45BB
RGBrgb(142, 69, 187)
HSLhsl(277, 46%, 50%)
HSVhsv(277, 63%, 73%)
CMYKcmyk(24.1%, 63.1%, 0%, 26.7%)
CIE-LABlab(43.65, 51.06, -49.86)
CIE-LCHlch(43.65, 71.36, 315.68°)
OKLaboklab(53.63% 0.1184 -0.1406)
OKLCHoklch(53.63% 0.184 310.1)
XYZxyz(22.2514, 13.5953, 48.4561)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E45BB #72BB45
analogous
#5345BB #8E45BB #BB45AD
triadic
#8E45BB #BB8E45 #45BB8E
tetradic
#8E45BB #BB5345 #72BB45 #45ADBB
square
#8E45BB #BB5345 #72BB45 #45ADBB
split-complementary
#8E45BB #ADBB45 #45BB53
monochromatic
#4A2462 #6C348F #8E45BB #A972CB #C49FDC

Accessibility & contrast

On white

5.65
#8E45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8E45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E45BB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E45BB#FFFFFF#000000##FFFFFF
##8E45BB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#3668B8
Tritanopia (blue-blind)
#885C7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e45bb;
/* rgb */ color: rgb(142, 69, 187);
/* oklch */ color: oklch(53.6% 0.184 310.1);
Tailwind
colors: {
  custom: {
    50: '#b37dd0',
    500: '#8e45bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e45bb;
$custom-light: #b37dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e45bb",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 277.119,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.1838,
    "h": 310.1
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#8E45BB
secondary
#A8C894
accent
#D65284
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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