#8D45D6#8D45D6

#8D45D6 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.212 H 302.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8D45D6
RGBrgb(141, 69, 214)
HSLhsl(270, 64%, 55%)
HSVhsv(270, 68%, 84%)
CMYKcmyk(34.1%, 67.8%, 0%, 16.1%)
CIE-LABlab(45.32, 57.09, -62.78)
CIE-LCHlch(45.32, 84.86, 312.28°)
OKLaboklab(55.38% 0.1148 -0.1786)
OKLCHoklch(55.38% 0.212 302.7)
XYZxyz(25.2474, 14.7740, 65.1268)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45D6 #8ED645
analogous
#4545D6 #8D45D6 #D545D6
triadic
#8D45D6 #D68D45 #45D68D
tetradic
#8D45D6 #D64545 #8ED645 #45D6D5
square
#8D45D6 #D64545 #8ED645 #45D6D5
split-complementary
#8D45D6 #D6D545 #45D645
monochromatic
#501D84 #6E28B6 #8D45D6 #AC77E1 #CAA9EC

Accessibility & contrast

On white

5.31
#8D45D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8D45D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45D6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45D6#FFFFFF#000000##FFFFFF
##8D45D61.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#7E6688
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d45d6;
/* rgb */ color: rgb(141, 69, 214);
/* oklch */ color: oklch(55.4% 0.212 302.7);
Tailwind
colors: {
  custom: {
    50: '#b47ee3',
    500: '#8d45d6',
    950: '#000000',
  },
}
SCSS
$custom: #8d45d6;
$custom-light: #b47ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45d6",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 269.793,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55378,
    "c": 0.21228,
    "h": 302.7
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#8D45D6
secondary
#BCDA9D
accent
#E74194
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D45D6

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

Preview Lab → · Contrast checker → · Palette generator →

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