#8B45D3#8B45D3

#8B45D3 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.209 H 302.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8B45D3
RGBrgb(139, 69, 211)
HSLhsl(270, 62%, 55%)
HSVhsv(270, 67%, 83%)
CMYKcmyk(34.1%, 67.3%, 0%, 17.3%)
CIE-LABlab(44.87, 55.98, -61.81)
CIE-LCHlch(44.87, 83.39, 312.16°)
OKLaboklab(54.93% 0.1125 -0.1758)
OKLCHoklch(54.93% 0.209 302.6)
XYZxyz(24.5307, 14.4483, 63.1118)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45D3 #8DD345
analogous
#4546D3 #8B45D3 #D245D3
triadic
#8B45D3 #D38B45 #45D38B
tetradic
#8B45D3 #D34546 #8DD345 #45D3D2
square
#8B45D3 #D34546 #8DD345 #45D3D2
split-complementary
#8B45D3 #D3D245 #46D345
monochromatic
#4E1E7F #6C2AB1 #8B45D3 #AA76DF #C9A8EA

Accessibility & contrast

On white

5.40
#8B45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8B45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45D3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45D3#FFFFFF#000000##FFFFFF
##8B45D31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#7C6586
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b45d3;
/* rgb */ color: rgb(139, 69, 211);
/* oklch */ color: oklch(54.9% 0.209 302.6);
Tailwind
colors: {
  custom: {
    50: '#b27de1',
    500: '#8b45d3',
    950: '#000000',
  },
}
SCSS
$custom: #8b45d3;
$custom-light: #b27de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45d3",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 269.577,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54933,
    "c": 0.20868,
    "h": 302.6
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#8B45D3
secondary
#BAD89C
accent
#E54395
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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