#8B45BE#8B45BE

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

Color values

HEX#8B45BE
RGBrgb(139, 69, 190)
HSLhsl(275, 48%, 51%)
HSVhsv(275, 64%, 75%)
CMYKcmyk(26.8%, 63.7%, 0%, 25.5%)
CIE-LABlab(43.45, 51.05, -51.94)
CIE-LCHlch(43.45, 72.83, 314.50°)
OKLaboklab(53.46% 0.1144 -0.1468)
OKLCHoklch(53.46% 0.186 307.9)
XYZxyz(22.0679, 13.4632, 50.1413)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45BE #78BE45
analogous
#4E45BE #8B45BE #BE45B4
triadic
#8B45BE #BE8B45 #45BE8B
tetradic
#8B45BE #BE4E45 #78BE45 #45B4BE
square
#8B45BE #BE4E45 #78BE45 #45B4BE
split-complementary
#8B45BE #B4BE45 #45BE4E
monochromatic
#492365 #6A3393 #8B45BE #A772CE #C4A0DE

Accessibility & contrast

On white

5.69
#8B45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8B45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45BE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45BE#FFFFFF#000000##FFFFFF
##8B45BE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2F67BB
Tritanopia (blue-blind)
#835E7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b45be;
/* rgb */ color: rgb(139, 69, 190);
/* oklch */ color: oklch(53.5% 0.186 307.9);
Tailwind
colors: {
  custom: {
    50: '#b17dd2',
    500: '#8b45be',
    950: '#000000',
  },
}
SCSS
$custom: #8b45be;
$custom-light: #b17dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45be",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 274.711,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.18608,
    "h": 307.9
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#8B45BE
secondary
#ABCA95
accent
#D85089
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8B45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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