#8B45BD#8B45BD

#8B45BD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.185 H 308.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8B45BD
RGBrgb(139, 69, 189)
HSLhsl(275, 48%, 51%)
HSVhsv(275, 63%, 74%)
CMYKcmyk(26.5%, 63.5%, 0%, 25.9%)
CIE-LABlab(43.39, 50.82, -51.46)
CIE-LCHlch(43.39, 72.32, 314.64°)
OKLaboklab(53.4% 0.1144 -0.1454)
OKLCHoklch(53.4% 0.185 308.2)
XYZxyz(21.9590, 13.4197, 49.5677)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45BD #77BD45
analogous
#4F45BD #8B45BD #BD45B3
triadic
#8B45BD #BD8B45 #45BD8B
tetradic
#8B45BD #BD4F45 #77BD45 #45B3BD
square
#8B45BD #BD4F45 #77BD45 #45B3BD
split-complementary
#8B45BD #B3BD45 #45BD4F
monochromatic
#492464 #6A3491 #8B45BD #A772CD #C39FDD

Accessibility & contrast

On white

5.70
#8B45BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8B45BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45BD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45BD#FFFFFF#000000##FFFFFF
##8B45BD1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#835D7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b45bd;
/* rgb */ color: rgb(139, 69, 189);
/* oklch */ color: oklch(53.4% 0.185 308.2);
Tailwind
colors: {
  custom: {
    50: '#b17dd1',
    500: '#8b45bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b45bd;
$custom-light: #b17dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45bd",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 275,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.185,
    "h": 308.2
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#8B45BD
secondary
#AACA94
accent
#D75189
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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