#8B45BC#8B45BC

#8B45BC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.184 H 308.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8B45BC
RGBrgb(139, 69, 188)
HSLhsl(275, 47%, 50%)
HSVhsv(275, 63%, 74%)
CMYKcmyk(26.1%, 63.3%, 0%, 26.3%)
CIE-LABlab(43.33, 50.59, -50.98)
CIE-LCHlch(43.33, 71.82, 314.78°)
OKLaboklab(53.33% 0.1145 -0.144)
OKLCHoklch(53.33% 0.184 308.5)
XYZxyz(21.8509, 13.3764, 48.9980)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45BC #76BC45
analogous
#4F45BC #8B45BC #BC45B2
triadic
#8B45BC #BC8B45 #45BC8B
tetradic
#8B45BC #BC4F45 #76BC45 #45B2BC
square
#8B45BC #BC4F45 #76BC45 #45B2BC
split-complementary
#8B45BC #B2BC45 #45BC4F
monochromatic
#492463 #6A3490 #8B45BC #A772CC #C39FDC

Accessibility & contrast

On white

5.71
#8B45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B45BC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45BC#FFFFFF#000000##FFFFFF
##8B45BC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#845D7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b45bc;
/* rgb */ color: rgb(139, 69, 188);
/* oklch */ color: oklch(53.3% 0.184 308.5);
Tailwind
colors: {
  custom: {
    50: '#b07dd1',
    500: '#8b45bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b45bc;
$custom-light: #b07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45bc",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 275.294,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.18393,
    "h": 308.5
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#8B45BC
secondary
#AAC994
accent
#D75188
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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