#8B45BF#8B45BF

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

Color values

HEX#8B45BF
RGBrgb(139, 69, 191)
HSLhsl(274, 49%, 51%)
HSVhsv(274, 64%, 75%)
CMYKcmyk(27.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(43.52, 51.28, -52.42)
CIE-LCHlch(43.52, 73.33, 314.37°)
OKLaboklab(53.53% 0.1143 -0.1482)
OKLCHoklch(53.53% 0.187 307.6)
XYZxyz(22.1776, 13.5071, 50.7189)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45BF #79BF45
analogous
#4E45BF #8B45BF #BF45B6
triadic
#8B45BF #BF8B45 #45BF8B
tetradic
#8B45BF #BF4E45 #79BF45 #45B6BF
square
#8B45BF #BF4E45 #79BF45 #45B6BF
split-complementary
#8B45BF #B6BF45 #45BF4E
monochromatic
#4A2366 #6B3394 #8B45BF #A773CF #C4A0DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B45BF#FFFFFF#000000##FFFFFF
##8B45BF1.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)
#0064C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#835E7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b45bf;
/* rgb */ color: rgb(139, 69, 191);
/* oklch */ color: oklch(53.5% 0.187 307.6);
Tailwind
colors: {
  custom: {
    50: '#b17dd3',
    500: '#8b45bf',
    950: '#000000',
  },
}
SCSS
$custom: #8b45bf;
$custom-light: #b17dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45bf",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 274.426,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53532,
    "c": 0.18716,
    "h": 307.6
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#8B45BF
secondary
#ACCB95
accent
#D84F8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8B45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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