#8D45C2#8D45C2

#8D45C2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.191 H 307.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8D45C2
RGBrgb(141, 69, 194)
HSLhsl(275, 51%, 52%)
HSVhsv(275, 64%, 76%)
CMYKcmyk(27.3%, 64.4%, 0%, 23.9%)
CIE-LABlab(43.97, 52.42, -53.43)
CIE-LCHlch(43.97, 74.85, 314.45°)
OKLaboklab(53.97% 0.1168 -0.1511)
OKLCHoklch(53.97% 0.191 307.7)
XYZxyz(22.8482, 13.8143, 52.4913)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45C2 #7AC245
analogous
#4F45C2 #8D45C2 #C245B9
triadic
#8D45C2 #C28D45 #45C28D
tetradic
#8D45C2 #C24F45 #7AC245 #45B9C2
square
#8D45C2 #C24F45 #7AC245 #45B9C2
split-complementary
#8D45C2 #B9C245 #45C24F
monochromatic
#4C236A #6D3298 #8D45C2 #A973D1 #C5A1E0

Accessibility & contrast

On white

5.58
#8D45C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8D45C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45C2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45C2#FFFFFF#000000##FFFFFF
##8D45C21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#2D69BF
Tritanopia (blue-blind)
#855F7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d45c2;
/* rgb */ color: rgb(141, 69, 194);
/* oklch */ color: oklch(54.0% 0.191 307.7);
Tailwind
colors: {
  custom: {
    50: '#b27dd5',
    500: '#8d45c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d45c2;
$custom-light: #b27dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45c2",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 274.56,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.19096,
    "h": 307.7
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#8D45C2
secondary
#ADCD96
accent
#DA4E89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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