#8D45BB#8D45BB

#8D45BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.183 H 309.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8D45BB
RGBrgb(141, 69, 187)
HSLhsl(277, 46%, 50%)
HSVhsv(277, 63%, 73%)
CMYKcmyk(24.6%, 63.1%, 0%, 26.7%)
CIE-LABlab(43.52, 50.83, -50.07)
CIE-LCHlch(43.52, 71.35, 315.43°)
OKLaboklab(53.51% 0.1171 -0.1412)
OKLCHoklch(53.51% 0.183 309.7)
XYZxyz(22.0805, 13.5072, 48.4480)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45BB #73BB45
analogous
#5245BB #8D45BB #BB45AE
triadic
#8D45BB #BB8D45 #45BB8D
tetradic
#8D45BB #BB5245 #73BB45 #45AEBB
square
#8D45BB #BB5245 #73BB45 #45AEBB
split-complementary
#8D45BB #AEBB45 #45BB52
monochromatic
#4A2462 #6B348F #8D45BB #A872CB #C49FDC

Accessibility & contrast

On white

5.67
#8D45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8D45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45BB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45BB#FFFFFF#000000##FFFFFF
##8D45BB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#875C7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d45bb;
/* rgb */ color: rgb(141, 69, 187);
/* oklch */ color: oklch(53.5% 0.183 309.7);
Tailwind
colors: {
  custom: {
    50: '#b27dd0',
    500: '#8d45bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d45bb;
$custom-light: #b27dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45bb",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 276.61,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53505,
    "c": 0.18347,
    "h": 309.7
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#8D45BB
secondary
#A8C894
accent
#D65285
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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