#8D45AF#8D45AF

#8D45AF is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.7% C 0.171 H 313.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8D45AF
RGBrgb(141, 69, 175)
HSLhsl(281, 43%, 48%)
HSVhsv(281, 61%, 69%)
CMYKcmyk(19.4%, 60.6%, 0%, 31.4%)
CIE-LABlab(42.79, 48.16, -44.19)
CIE-LCHlch(42.79, 65.36, 317.46°)
OKLaboklab(52.74% 0.1173 -0.124)
OKLCHoklch(52.74% 0.171 313.4)
XYZxyz(20.8492, 13.0147, 41.9629)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45AF #67AF45
analogous
#5845AF #8D45AF #AF459C
triadic
#8D45AF #AF8D45 #45AF8D
tetradic
#8D45AF #AF5845 #67AF45 #459CAF
square
#8D45AF #AF5845 #67AF45 #459CAF
split-complementary
#8D45AF #9CAF45 #45AF58
monochromatic
#462257 #6A3483 #8D45AF #A96CC5 #C298D6

Accessibility & contrast

On white

5.83
#8D45AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8D45AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45AF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45AF#FFFFFF#000000##FFFFFF
##8D45AF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#4067AC
Tritanopia (blue-blind)
#8A5873
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d45af;
/* rgb */ color: rgb(141, 69, 175);
/* oklch */ color: oklch(52.7% 0.171 313.4);
Tailwind
colors: {
  custom: {
    50: '#b17dc7',
    500: '#8d45af',
    950: '#000000',
  },
}
SCSS
$custom: #8d45af;
$custom-light: #b17dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45af",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 280.755,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.1707,
    "h": 313.4
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#8D45AF
secondary
#9EC28D
accent
#D3557D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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