#8D45C8#8D45C8

#8D45C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.197 H 306.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8D45C8
RGBrgb(141, 69, 200)
HSLhsl(273, 54%, 53%)
HSVhsv(273, 66%, 78%)
CMYKcmyk(29.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(44.36, 53.80, -56.28)
CIE-LCHlch(44.36, 77.86, 313.71°)
OKLaboklab(54.38% 0.1163 -0.1594)
OKLCHoklch(54.38% 0.197 306.1)
XYZxyz(23.5357, 14.0893, 56.1120)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45C8 #80C845
analogous
#4B45C8 #8D45C8 #C845C2
triadic
#8D45C8 #C88D45 #45C88D
tetradic
#8D45C8 #C84B45 #80C845 #45C2C8
square
#8D45C8 #C84B45 #80C845 #45C2C8
split-complementary
#8D45C8 #C2C845 #45C84B
monochromatic
#4D2171 #6E2FA0 #8D45C8 #AA74D6 #C7A3E4

Accessibility & contrast

On white

5.50
#8D45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8D45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45C8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45C8#FFFFFF#000000##FFFFFF
##8D45C81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#2469C5
Tritanopia (blue-blind)
#836181
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d45c8;
/* rgb */ color: rgb(141, 69, 200);
/* oklch */ color: oklch(54.4% 0.197 306.1);
Tailwind
colors: {
  custom: {
    50: '#b37dd9',
    500: '#8d45c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d45c8;
$custom-light: #b37dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45c8",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 272.977,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.19736,
    "h": 306.1
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#8D45C8
secondary
#B2D198
accent
#DE4A8D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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