#8B45D1#8B45D1

#8B45D1 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.207 H 303.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8B45D1
RGBrgb(139, 69, 209)
HSLhsl(270, 60%, 55%)
HSVhsv(270, 67%, 82%)
CMYKcmyk(33.5%, 67%, 0%, 18%)
CIE-LABlab(44.73, 55.50, -60.89)
CIE-LCHlch(44.73, 82.38, 312.35°)
OKLaboklab(54.79% 0.1127 -0.1731)
OKLCHoklch(54.79% 0.207 303.1)
XYZxyz(24.2815, 14.3487, 61.7996)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45D1 #8BD145
analogous
#4545D1 #8B45D1 #D145D1
triadic
#8B45D1 #D18B45 #45D18B
tetradic
#8B45D1 #D14545 #8BD145 #45D1D1
square
#8B45D1 #D14545 #8BD145 #45D1D1
split-complementary
#8B45D1 #D1D145 #45D145
monochromatic
#4E1F7D #6C2BAE #8B45D1 #AA76DD #C8A7E9

Accessibility & contrast

On white

5.43
#8B45D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8B45D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45D1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45D1#FFFFFF#000000##FFFFFF
##8B45D11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0269CE
Tritanopia (blue-blind)
#7D6585
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b45d1;
/* rgb */ color: rgb(139, 69, 209);
/* oklch */ color: oklch(54.8% 0.207 303.1);
Tailwind
colors: {
  custom: {
    50: '#b27de0',
    500: '#8b45d1',
    950: '#000000',
  },
}
SCSS
$custom: #8b45d1;
$custom-light: #b27de0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45d1",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 270,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.20654,
    "h": 303.1
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#8B45D1
secondary
#B9D79B
accent
#E34494
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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