#8D45BE#8D45BE

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

Color values

HEX#8D45BE
RGBrgb(141, 69, 190)
HSLhsl(276, 48%, 51%)
HSVhsv(276, 64%, 75%)
CMYKcmyk(25.8%, 63.7%, 0%, 25.5%)
CIE-LABlab(43.71, 51.51, -51.52)
CIE-LCHlch(43.71, 72.85, 314.99°)
OKLaboklab(53.7% 0.117 -0.1455)
OKLCHoklch(53.7% 0.187 308.8)
XYZxyz(22.4050, 13.6370, 50.1571)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45BE #76BE45
analogous
#5045BE #8D45BE #BE45B3
triadic
#8D45BE #BE8D45 #45BE8D
tetradic
#8D45BE #BE5045 #76BE45 #45B3BE
square
#8D45BE #BE5045 #76BE45 #45B3BE
split-complementary
#8D45BE #B3BE45 #45BE50
monochromatic
#4B2365 #6C3393 #8D45BE #A972CE #C5A0DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D45BE#FFFFFF#000000##FFFFFF
##8D45BE1.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)
#0064C2
Deuteranopia (green-blind)
#3268BB
Tritanopia (blue-blind)
#865D7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d45be;
/* rgb */ color: rgb(141, 69, 190);
/* oklch */ color: oklch(53.7% 0.187 308.8);
Tailwind
colors: {
  custom: {
    50: '#b27dd2',
    500: '#8d45be',
    950: '#000000',
  },
}
SCSS
$custom: #8d45be;
$custom-light: #b27dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45be",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 275.702,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.18668,
    "h": 308.8
  },
  "luminance": 0.13637
}

Semantic roles & 50–950 ramp

primary
#8D45BE
secondary
#AACA95
accent
#D85087
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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