#8D45D5#8D45D5

#8D45D5 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.211 H 303.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8D45D5
RGBrgb(141, 69, 213)
HSLhsl(270, 63%, 55%)
HSVhsv(270, 68%, 84%)
CMYKcmyk(33.8%, 67.6%, 0%, 16.5%)
CIE-LABlab(45.25, 56.85, -62.32)
CIE-LCHlch(45.25, 84.36, 312.37°)
OKLaboklab(55.31% 0.1149 -0.1772)
OKLCHoklch(55.31% 0.211 303)
XYZxyz(25.1201, 14.7231, 64.4563)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45D5 #8DD545
analogous
#4545D5 #8D45D5 #D545D5
triadic
#8D45D5 #D58D45 #45D58D
tetradic
#8D45D5 #D54545 #8DD545 #45D5D5
square
#8D45D5 #D54545 #8DD545 #45D5D5
split-complementary
#8D45D5 #D5D545 #45D545
monochromatic
#501D82 #6E29B4 #8D45D5 #AC77E0 #CAA9EC

Accessibility & contrast

On white

5.32
#8D45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8D45D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45D5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45D5#FFFFFF#000000##FFFFFF
##8D45D51.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#7F6688
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d45d5;
/* rgb */ color: rgb(141, 69, 213);
/* oklch */ color: oklch(55.3% 0.211 303.0);
Tailwind
colors: {
  custom: {
    50: '#b47ee3',
    500: '#8d45d5',
    950: '#000000',
  },
}
SCSS
$custom: #8d45d5;
$custom-light: #b47ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45d5",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.21122,
    "h": 303
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#8D45D5
secondary
#BBD99D
accent
#E64294
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8D45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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