#8B45D5#8B45D5

#8B45D5 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.211 H 302.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8B45D5
RGBrgb(139, 69, 213)
HSLhsl(269, 63%, 55%)
HSVhsv(269, 68%, 84%)
CMYKcmyk(34.7%, 67.6%, 0%, 16.5%)
CIE-LABlab(45.01, 56.45, -62.73)
CIE-LCHlch(45.01, 84.39, 311.99°)
OKLaboklab(55.08% 0.1122 -0.1785)
OKLCHoklch(55.08% 0.211 302.2)
XYZxyz(24.7830, 14.5492, 64.4405)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45D5 #8FD545
analogous
#4547D5 #8B45D5 #D345D5
triadic
#8B45D5 #D58B45 #45D58B
tetradic
#8B45D5 #D54547 #8FD545 #45D5D3
square
#8B45D5 #D54547 #8FD545 #45D5D3
split-complementary
#8B45D5 #D5D345 #47D545
monochromatic
#4E1D82 #6C29B4 #8B45D5 #AA77E0 #C9A9EC

Accessibility & contrast

On white

5.37
#8B45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8B45D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45D5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45D5#FFFFFF#000000##FFFFFF
##8B45D51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#7C6688
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b45d5;
/* rgb */ color: rgb(139, 69, 213);
/* oklch */ color: oklch(55.1% 0.211 302.2);
Tailwind
colors: {
  custom: {
    50: '#b27ee3',
    500: '#8b45d5',
    950: '#000000',
  },
}
SCSS
$custom: #8b45d5;
$custom-light: #b27ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45d5",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 269.167,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55079,
    "c": 0.21082,
    "h": 302.2
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#8B45D5
secondary
#BCD99D
accent
#E64296
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8B45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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