#8D45BC#8D45BC

#8D45BC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.185 H 309.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D45BC
RGBrgb(141, 69, 188)
HSLhsl(276, 47%, 50%)
HSVhsv(276, 63%, 74%)
CMYKcmyk(25%, 63.3%, 0%, 26.3%)
CIE-LABlab(43.58, 51.05, -50.55)
CIE-LCHlch(43.58, 71.85, 315.28°)
OKLaboklab(53.57% 0.1171 -0.1426)
OKLCHoklch(53.57% 0.185 309.4)
XYZxyz(22.1879, 13.5502, 49.0138)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45BC #74BC45
analogous
#5145BC #8D45BC #BC45AF
triadic
#8D45BC #BC8D45 #45BC8D
tetradic
#8D45BC #BC5145 #74BC45 #45AFBC
square
#8D45BC #BC5145 #74BC45 #45AFBC
split-complementary
#8D45BC #AFBC45 #45BC51
monochromatic
#4A2463 #6C3490 #8D45BC #A972CC #C49FDC

Accessibility & contrast

On white

5.66
#8D45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8D45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45BC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45BC#FFFFFF#000000##FFFFFF
##8D45BC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C0
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#865D7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d45bc;
/* rgb */ color: rgb(141, 69, 188);
/* oklch */ color: oklch(53.6% 0.185 309.4);
Tailwind
colors: {
  custom: {
    50: '#b27dd1',
    500: '#8d45bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d45bc;
$custom-light: #b27dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45bc",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 276.303,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.18454,
    "h": 309.4
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#8D45BC
secondary
#A9C994
accent
#D75186
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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