#8D45B7#8D45B7

#8D45B7 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.179 H 310.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8D45B7
RGBrgb(141, 69, 183)
HSLhsl(278, 45%, 49%)
HSVhsv(278, 62%, 72%)
CMYKcmyk(23%, 62.3%, 0%, 28.2%)
CIE-LABlab(43.27, 49.93, -48.13)
CIE-LCHlch(43.27, 69.35, 316.05°)
OKLaboklab(53.25% 0.1173 -0.1355)
OKLCHoklch(53.25% 0.179 310.9)
XYZxyz(21.6583, 13.3383, 46.2242)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45B7 #6FB745
analogous
#5445B7 #8D45B7 #B745A8
triadic
#8D45B7 #B78D45 #45B78D
tetradic
#8D45B7 #B75445 #6FB745 #45A8B7
square
#8D45B7 #B75445 #6FB745 #45A8B7
split-complementary
#8D45B7 #A8B745 #45B754
monochromatic
#49235E #6B348B #8D45B7 #A870C9 #C39DDA

Accessibility & contrast

On white

5.73
#8D45B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8D45B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45B7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45B7#FFFFFF#000000##FFFFFF
##8D45B71.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BB
Deuteranopia (green-blind)
#3968B4
Tritanopia (blue-blind)
#885B78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d45b7;
/* rgb */ color: rgb(141, 69, 183);
/* oklch */ color: oklch(53.2% 0.179 310.9);
Tailwind
colors: {
  custom: {
    50: '#b27dcd',
    500: '#8d45b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d45b7;
$custom-light: #b27dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45b7",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 277.895,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.17921,
    "h": 310.9
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#8D45B7
secondary
#A5C692
accent
#D55383
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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