#8B45BB#8B45BB

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

Color values

HEX#8B45BB
RGBrgb(139, 69, 187)
HSLhsl(276, 46%, 50%)
HSVhsv(276, 63%, 73%)
CMYKcmyk(25.7%, 63.1%, 0%, 26.7%)
CIE-LABlab(43.26, 50.36, -50.50)
CIE-LCHlch(43.26, 71.32, 314.92°)
OKLaboklab(53.26% 0.1145 -0.1425)
OKLCHoklch(53.26% 0.183 308.8)
XYZxyz(21.7434, 13.3334, 48.4322)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45BB #75BB45
analogous
#5045BB #8B45BB #BB45B0
triadic
#8B45BB #BB8B45 #45BB8B
tetradic
#8B45BB #BB5045 #75BB45 #45B0BB
square
#8B45BB #BB5045 #75BB45 #45B0BB
split-complementary
#8B45BB #B0BB45 #45BB50
monochromatic
#492462 #6A348F #8B45BB #A772CB #C39FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B45BB#FFFFFF#000000##FFFFFF
##8B45BB1.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)
#0163BF
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#845D7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b45bb;
/* rgb */ color: rgb(139, 69, 187);
/* oklch */ color: oklch(53.3% 0.183 308.8);
Tailwind
colors: {
  custom: {
    50: '#b07dd0',
    500: '#8b45bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b45bb;
$custom-light: #b07dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45bb",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 275.593,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53264,
    "c": 0.18285,
    "h": 308.8
  },
  "luminance": 0.13333
}

Semantic roles & 50–950 ramp

primary
#8B45BB
secondary
#A9C894
accent
#D65288
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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