#8D45D7#8D45D7

#8D45D7 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.213 H 302.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8D45D7
RGBrgb(141, 69, 215)
HSLhsl(270, 65%, 56%)
HSVhsv(270, 68%, 84%)
CMYKcmyk(34.4%, 67.9%, 0%, 15.7%)
CIE-LABlab(45.39, 57.33, -63.24)
CIE-LCHlch(45.39, 85.36, 312.19°)
OKLaboklab(55.45% 0.1147 -0.1799)
OKLCHoklch(55.45% 0.213 302.5)
XYZxyz(25.3755, 14.8252, 65.8015)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45D7 #8FD745
analogous
#4546D7 #8D45D7 #D645D7
triadic
#8D45D7 #D78D45 #45D78D
tetradic
#8D45D7 #D74546 #8FD745 #45D7D6
square
#8D45D7 #D74546 #8FD745 #45D7D6
split-complementary
#8D45D7 #D7D645 #46D745
monochromatic
#501D85 #6E27B7 #8D45D7 #AC77E2 #CBAAED

Accessibility & contrast

On white

5.30
#8D45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8D45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45D7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45D7#FFFFFF#000000##FFFFFF
##8D45D71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#7E6789
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d45d7;
/* rgb */ color: rgb(141, 69, 215);
/* oklch */ color: oklch(55.5% 0.213 302.5);
Tailwind
colors: {
  custom: {
    50: '#b47ee4',
    500: '#8d45d7',
    950: '#000000',
  },
}
SCSS
$custom: #8d45d7;
$custom-light: #b47ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45d7",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 269.589,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55451,
    "c": 0.21335,
    "h": 302.5
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#8D45D7
secondary
#BCDA9E
accent
#E84095
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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